Issue 3672 - Read-modify-write operations should not be allowed for shared variables.

https://d.puremagic.com/issues/show_bug.cgi?id=3672

A spec pull (if needed) will be made if/after this pull is merged.