Open
Description
This is currently inconsistent between different SOM implementations.
The following program should result in the same output for all SOMs:
arr := Array new: 4.
(arr at: 1 put: 43) println.
Current behavior:
- SOM (java):
instance of Array
- TruffleSOM:
43
- yksom: something line instance of Array looking at https://github.com/softdevteam/yksom/blob/68df0e2f2193d1e442bace3d62b969ed1789853a/src/lib/vm/core.rs#L742
- JsSOM:
43
There's also an assumption in #25 that Array>>#at:put:
returns the value just stored.
/cc @ltratt