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;
|
||||
}
|
||||
}
|
||||
base_type = base_type.class_type->base_type;
|
||||
}
|
||||
base_type = base_type.class_type->base_type;
|
||||
break;
|
||||
case GDScriptParser::DataType::NATIVE: {
|
||||
if (id_type.is_set() && !id_type.is_variant()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue