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
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

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;
}
}