You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Autocompletion: Try to guess method return type even if subscript base has no value
This commit is contained in:
@@ -1925,7 +1925,7 @@ static bool _guess_expression_type(GDScriptParser::CompletionContext &p_context,
|
||||
}
|
||||
}
|
||||
|
||||
if (!found && base.value.get_type() != Variant::NIL) {
|
||||
if (!found) {
|
||||
found = _guess_method_return_type_from_base(c, base, call->function_name, r_type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user