diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-07 23:19:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 23:19:29 +0200 |
commit | 40dff7117aabf6e85049f02325851111c567a8da (patch) | |
tree | a55e5aed727171750fa05e11e899f388080180da /modules | |
parent | 73a1253095c8bb0f93170fc04e5368b9a9beea7c (diff) | |
parent | 20f18f1621adeeebfaab59daee01f4dcc336596a (diff) |
Merge pull request #47648 from Blackiris/fix-gdscript-editor-hangs
Fix infinite loop when guessing argument type from parent class
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 9856a1a98a..ae3b16a9d7 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -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()) { |