Browse Source

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

Fix lookup_code to properly handle symbols at start of assignments
Rémi Verschelde 3 năm trước cách đây
mục cha
commit
2ec379e1f9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      modules/gdscript/gdscript_editor.cpp

+ 1 - 0
modules/gdscript/gdscript_editor.cpp

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