1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #68311 from RobertMasek/fix-go-to-definition

Fix functionality of Go To Definition for properties set/get
This commit is contained in:
Rémi Verschelde
2023-06-18 16:26:42 +02:00

View File

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