mirror of https://github.com/godotengine/godot
Merge pull request #73238 from vonagam/fix-read-only-vars
GDScript: Fix infer on read-only property
This commit is contained in:
commit
f3934d1bf5
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue