Skip to content

Commit

Permalink
Merge pull request #61407 from snailrhymer/lookup-fix-2
Browse files Browse the repository at this point in the history
Fix lookup_code to properly handle symbols at start of assignments
  • Loading branch information
akien-mga authored May 25, 2022
2 parents 5f8888c + 688a62d commit 2ec379e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gdscript/gdscript_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3227,6 +3227,7 @@ ::Error GDScriptLanguage::lookup_code(const String &p_code, const String &p_symb
is_function = true;
[[fallthrough]];
}
case GDScriptParser::COMPLETION_ASSIGN:
case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
case GDScriptParser::COMPLETION_IDENTIFIER: {
GDScriptParser::DataType base_type;
Expand Down

0 comments on commit 2ec379e

Please sign in to comment.