diff options
author | Itamar <itamar8910@gmail.com> | 2021-02-27 09:42:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-27 16:37:35 +0100 |
commit | a94b5376bcf9428a71ad84fddb87da29c944c05e (patch) | |
tree | d265e2d5fddb0b06463f12b5a9771fe598912d9a /Userland/DevTools/HackStudio/AutoCompleteResponse.h | |
parent | 71c7597130a1c2e4622fc0179eff0cc62ecd4af8 (diff) | |
download | serenity-a94b5376bcf9428a71ad84fddb87da29c944c05e.zip |
LanguageServers/Cpp: Update client asynchronously about symbols
As a document is parsed, the language server updates the client
asynchronously about symbol declarations it finds.
Diffstat (limited to 'Userland/DevTools/HackStudio/AutoCompleteResponse.h')
-rw-r--r-- | Userland/DevTools/HackStudio/AutoCompleteResponse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/AutoCompleteResponse.h b/Userland/DevTools/HackStudio/AutoCompleteResponse.h index 540022f98d..26f2ed45eb 100644 --- a/Userland/DevTools/HackStudio/AutoCompleteResponse.h +++ b/Userland/DevTools/HackStudio/AutoCompleteResponse.h @@ -110,7 +110,7 @@ inline bool decode(Decoder& decoder, GUI::AutocompleteProvider::Declaration& dec if (!decode(decoder, declaration.position)) return false; u32 type; - if (!decoder.decode( type)) + if (!decoder.decode(type)) return false; declaration.type = static_cast<GUI::AutocompleteProvider::DeclarationType>(type); |