summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorSnailRhymer <harrymilnes@hotmail.com>2022-05-25 11:41:36 +0100
committerSnailRhymer <harrymilnes@hotmail.com>2022-05-25 11:45:57 +0100
commit688a62d8413eaf6e5f1725795c27fb645962e09e (patch)
treef6f5f0c294be10ec24d5099a216a1a0e64db3e62 /modules/gdscript
parent19e3c7fcd9d3ec533f3e81b4ec77636d32ff9b24 (diff)
Fix lookup_code to properly handle symbols at start of assignments
Diffstat (limited to 'modules/gdscript')
-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;