Browse Source

Fix lookup_code to properly handle symbols at start of assignments

SnailRhymer 3 years ago
parent
commit
688a62d841
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/gdscript/gdscript_editor.cpp

+ 1 - 0
modules/gdscript/gdscript_editor.cpp

@@ -3227,6 +3227,7 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
 			is_function = true;
 			is_function = true;
 			[[fallthrough]];
 			[[fallthrough]];
 		}
 		}
+		case GDScriptParser::COMPLETION_ASSIGN:
 		case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
 		case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
 		case GDScriptParser::COMPLETION_IDENTIFIER: {
 		case GDScriptParser::COMPLETION_IDENTIFIER: {
 			GDScriptParser::DataType base_type;
 			GDScriptParser::DataType base_type;