Bladeren bron

Add case for COMPLETION_PROPERTY_METHOD

RobertMasek 2 jaren geleden
bovenliggende
commit
79234d8916
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      modules/gdscript/gdscript_editor.cpp

+ 2 - 1
modules/gdscript/gdscript_editor.cpp

@@ -3268,7 +3268,8 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
 		}
 		case GDScriptParser::COMPLETION_ASSIGN:
 		case GDScriptParser::COMPLETION_CALL_ARGUMENTS:
-		case GDScriptParser::COMPLETION_IDENTIFIER: {
+		case GDScriptParser::COMPLETION_IDENTIFIER:
+		case GDScriptParser::COMPLETION_PROPERTY_METHOD: {
 			GDScriptParser::DataType base_type;
 			if (context.current_class) {
 				if (context.type != GDScriptParser::COMPLETION_SUPER_METHOD) {