You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix infinite loop when guessing argument type from parent class
This commit is contained in:
@@ -1745,8 +1745,8 @@ static bool _guess_identifier_type(GDScriptParser::CompletionContext &p_context,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
base_type = base_type.class_type->base_type;
|
|
||||||
}
|
}
|
||||||
|
base_type = base_type.class_type->base_type;
|
||||||
break;
|
break;
|
||||||
case GDScriptParser::DataType::NATIVE: {
|
case GDScriptParser::DataType::NATIVE: {
|
||||||
if (id_type.is_set() && !id_type.is_variant()) {
|
if (id_type.is_set() && !id_type.is_variant()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user