diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-07 20:03:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-07 20:03:09 +0100 |
commit | f49d679de4a63f4649c58b91ece5b1915554359e (patch) | |
tree | a25ee955788b6f76f86d4da45029dddaad64942b | |
parent | c89061e982a27ba6e5dc6ea54ae812976de2d2db (diff) | |
parent | 4995a477ffcb1b11b8de0e2e09d0749de38ceef4 (diff) |
Merge pull request #54728 from Razoric480/fix-lsp-signal-crash-r
Fix LSP crash when parsing signal symbols.
-rw-r--r-- | modules/gdscript/language_server/gdscript_extend_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/language_server/gdscript_extend_parser.cpp b/modules/gdscript/language_server/gdscript_extend_parser.cpp index f4c0c4d9bb..80f4721e2d 100644 --- a/modules/gdscript/language_server/gdscript_extend_parser.cpp +++ b/modules/gdscript/language_server/gdscript_extend_parser.cpp @@ -269,7 +269,7 @@ void ExtendGDScriptParser::parse_class_symbol(const GDScriptParser::ClassNode *p if (j > 0) { symbol.detail += ", "; } - symbol.detail += m.signal->parameters[i]->identifier->name; + symbol.detail += m.signal->parameters[j]->identifier->name; } symbol.detail += ")"; |