GDScript: Fix infer on read-only property
This commit is contained in:
parent
953383328a
commit
5972ba17a4
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue