Merge pull request #47648 from Blackiris/fix-gdscript-editor-hangs
Fix infinite loop when guessing argument type from parent class
This commit is contained in:
commit
40dff7117a
@ -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…
Reference in New Issue
Block a user