mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 14:41:07 +00:00
regression: var declaration type info parser bug fix
(cherry picked from commit e5d735851d)
This commit is contained in:
parent
6d7fb3d322
commit
e42318e41c
1 changed files with 1 additions and 0 deletions
|
|
@ -7787,6 +7787,7 @@ void GDScriptParser::_check_class_level_types(ClassNode *p_class) {
|
|||
|
||||
_mark_line_as_safe(v.line);
|
||||
v.data_type = _resolve_type(v.data_type, v.line);
|
||||
v.initial_assignment->arguments[0]->set_datatype(v.data_type);
|
||||
|
||||
if (v.expression) {
|
||||
DataType expr_type = _reduce_node_type(v.expression);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue