mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #32320 from vnen/gdscript-type-resolution
GDScript: Fix type resolution not being return in some cases
This commit is contained in:
commit
fe8d64acd1
@ -6700,7 +6700,8 @@ GDScriptParser::DataType GDScriptParser::_reduce_node_type(Node *p_node) {
|
||||
}
|
||||
}
|
||||
|
||||
p_node->set_datatype(_resolve_type(node_type, p_node->line));
|
||||
node_type = _resolve_type(node_type, p_node->line);
|
||||
p_node->set_datatype(node_type);
|
||||
return node_type;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user