Merge pull request #73238 from vonagam/fix-read-only-vars

GDScript: Fix infer on read-only property
This commit is contained in:
Rémi Verschelde 2023-02-16 18:34:37 +01:00
commit f3934d1bf5
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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);
}