Skip to content

Commit

Permalink
Fix symbol lookup in index subscript
Browse files Browse the repository at this point in the history
  • Loading branch information
HolonProduction committed Dec 27, 2023
1 parent 13a0d6e commit 54742f7
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 @@ -3561,7 +3561,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 54742f7

Please sign in to comment.