Feedback
Array property defaults are now isolated between instances
- Status
- Fixed
- Fixed in
- v26.7.3
- Source discussion
- https://forum.objo.dev/d/620-question-about-default-property-values-and-likely-a-strange-bug
- Last updated
- 2026-07-18
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Array properties without an explicit initializer could share the same default array between instances. Mutating one object could therefore expose elements or retained capacity through a later object. Each instance should instead begin with its own empty array.