parent
7e731bbce2
commit
e3d05fa42d
|
@ -6510,7 +6510,7 @@ GDScriptParser::DataType GDScriptParser::_reduce_node_type(Node *p_node) {
|
||||||
return DataType();
|
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
|
// Can infer indexing type for some variant types
|
||||||
DataType result;
|
DataType result;
|
||||||
result.has_type = true;
|
result.has_type = true;
|
||||||
|
|
Loading…
Reference in New Issue