mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
GDScript: Fix infer on read-only property
This commit is contained in:
@@ -1742,6 +1742,7 @@ void GDScriptAnalyzer::resolve_assignable(GDScriptParser::AssignableNode *p_assi
|
||||
}
|
||||
|
||||
type.is_constant = is_constant;
|
||||
type.is_read_only = false;
|
||||
p_assignable->set_datatype(type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user