Skip to content

Commit

Permalink
Merge pull request #86554 from HolonProduction/lookup-subscript
Browse files Browse the repository at this point in the history
Fix symbol lookup in index subscript
  • Loading branch information
YuriSizov committed Jan 17, 2024
2 parents 7351b57 + 54742f7 commit 5b22884
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/gdscript/gdscript_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3579,7 +3579,8 @@ ::Error GDScriptLanguage::lookup_code(const String &p_code, const String &p_symb
case GDScriptParser::COMPLETION_ASSIGN:
case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
case GDScriptParser::COMPLETION_IDENTIFIER:
case GDScriptParser::COMPLETION_PROPERTY_METHOD: {
case GDScriptParser::COMPLETION_PROPERTY_METHOD:
case GDScriptParser::COMPLETION_SUBSCRIPT: {
GDScriptParser::DataType base_type;
if (context.current_class) {
if (context.type != GDScriptParser::COMPLETION_SUPER_METHOD) {
Expand Down

0 comments on commit 5b22884

Please sign in to comment.