Feedback
Support compound assignment for all assignment targets
- Status
- Fixed
- Fixed in
- v26.6.6
- Source discussion
- https://forum.objo.dev/d/431-operators
- Last updated
- 2026-06-25
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Compound assignment currently supports bare variable targets such as x += 1, but rejects explicit assignment targets that users expect to work, such as obj.Count += 1, Me.Count += 1, items[i] += 1, multi-index user subscripts, and Assigns call targets. ObjoBasic should support compound assignment anywhere normal assignment is valid, with the target evaluated once.