Fix lookup_code to properly handle symbols at start of assignments

This commit is contained in:
SnailRhymer 2022-05-25 11:41:36 +01:00
parent 19e3c7fcd9
commit 688a62d841

View file

@ -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;