summaryrefslogtreecommitdiff
path: root/editor/icons/FileDead.svg
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2022-06-27 12:09:51 -0300
committerGeorge Marques <george@gmarqu.es>2022-06-27 12:09:51 -0300
commit511a4b761c3b5bf565f6e580fc9774a99e72a53e (patch)
tree83506363302f698270b87d75edd7e5b9b91a4730 /editor/icons/FileDead.svg
parent307dfa9fe960c93b3f4c2f78d9c046c1ffff6a93 (diff)
GDScript: Fix setter being called in chains for shared types
When a type is shared (i.e. passed by reference) it doesn't need to be called in a setter chain (e.g. `a.b.c = 0`) since it will be updated in place. This commit adds an instruction that jumps when the value is shared so it can be used to skip those cases and avoid redundant calls of setters. It also solves issues when assigning to sub-properties of read-only properties.
Diffstat (limited to 'editor/icons/FileDead.svg')
0 files changed, 0 insertions, 0 deletions