1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

GDScript: Fix autocompletion inference after is check

Fix #21915
This commit is contained in:
George Marques
2018-09-13 10:56:22 -03:00
parent 726e836cd9
commit 02acb07d81

View File

@@ -1189,6 +1189,7 @@ static bool _guess_identifier_type(const GDScriptCompletionContext &p_context, c
c.line = op->line;
c.block = blk;
if (_guess_expression_type(p_context, op->arguments[1], r_type)) {
r_type.type.is_meta_type = false;
return true;
}
}