1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

GDScript: Fix infer on read-only property

This commit is contained in:
Dmitrii Maganov
2023-02-13 20:25:41 +02:00
parent 953383328a
commit 5972ba17a4

View File

@@ -1742,6 +1742,7 @@ void GDScriptAnalyzer::resolve_assignable(GDScriptParser::AssignableNode *p_assi
} }
type.is_constant = is_constant; type.is_constant = is_constant;
type.is_read_only = false;
p_assignable->set_datatype(type); p_assignable->set_datatype(type);
} }