#become: apparently (effectively) swaps object ids.
Is there anything like
x oneWayBecome: y
that would pass this test:
testOneWayBecome: x to: y
| a b |
a := x.
b := y.
x oneWayBecome: y.
self assert: [x == y].
self assert: [a == y].
self assert: [b == y].
(Not related to my earlier collection empty question)
Thanks - Sophie
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners