summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-25 15:20:43 +0200
committerGitHub <noreply@github.com>2022-05-25 15:20:43 +0200
commit2ec379e1f96345af5daf46cd31a1efb2a698d5d3 (patch)
tree00ecfa650996b779e4c8045cf77f7687a85860ae /modules
parent5f8888c4454f9966ce1f40cf08ff2d881470e9ed (diff)
parent688a62d8413eaf6e5f1725795c27fb645962e09e (diff)
Merge pull request #61407 from snailrhymer/lookup-fix-2
Fix lookup_code to properly handle symbols at start of assignments
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 5b63fe7466..9a9ce0bc6a 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -3227,6 +3227,7 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
is_function = true;
[[fallthrough]];
}
+ case GDScriptParser::COMPLETION_ASSIGN:
case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
case GDScriptParser::COMPLETION_IDENTIFIER: {
GDScriptParser::DataType base_type;