From 688a62d8413eaf6e5f1725795c27fb645962e09e Mon Sep 17 00:00:00 2001 From: SnailRhymer Date: Wed, 25 May 2022 11:41:36 +0100 Subject: Fix lookup_code to properly handle symbols at start of assignments --- modules/gdscript/gdscript_editor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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; -- cgit v1.2.3