Merge pull request #61407 from snailrhymer/lookup-fix-2

Fix lookup_code to properly handle symbols at start of assignments
This commit is contained in:
Rémi Verschelde 2022-05-25 15:20:43 +02:00 committed by GitHub
commit 2ec379e1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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