You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-07 19:53:17 +00:00
@@ -6510,7 +6510,7 @@ GDScriptParser::DataType GDScriptParser::_reduce_node_type(Node *p_node) {
|
||||
return DataType();
|
||||
}
|
||||
}
|
||||
if (check_types && !node_type.has_type) {
|
||||
if (check_types && !node_type.has_type && base_type.kind == DataType::BUILTIN) {
|
||||
// Can infer indexing type for some variant types
|
||||
DataType result;
|
||||
result.has_type = true;
|
||||
|
||||
Reference in New Issue
Block a user