diff options
author | Dmitrii Maganov <vonagam@gmail.com> | 2023-02-13 20:25:41 +0200 |
---|---|---|
committer | Dmitrii Maganov <vonagam@gmail.com> | 2023-02-16 15:50:17 +0200 |
commit | 5972ba17a4977f72656f59cbfa5e935d483571d9 (patch) | |
tree | 23a45a1b0311af90da56b4bee3c83f4560190b8e | |
parent | 953383328af17e8c9fd6359285c12617cb22f636 (diff) |
GDScript: Fix infer on read-only property
-rw-r--r-- | modules/gdscript/gdscript_analyzer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_analyzer.cpp b/modules/gdscript/gdscript_analyzer.cpp index 8d09249125..d0525be853 100644 --- a/modules/gdscript/gdscript_analyzer.cpp +++ b/modules/gdscript/gdscript_analyzer.cpp @@ -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); } |