mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fix infinite loop when guessing argument type from parent class
This commit is contained in:
parent
4296b135b7
commit
20f18f1621
1 changed files with 1 additions and 1 deletions
|
|
@ -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()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue