Some questions about become:

Stephane Ducasse ducasse at iam.unibe.ch
Tue Oct 2 08:04:38 UTC 2001


> 
> Sure - it doesn't work.
> 
> become: otherObject
> "Primitive. Swap the object pointers of the receiver and the argument.
> All variables in the entire system that used to point to the
> receiver now point to the argument, and vice-versa.
> Fails if either object is a SmallInteger"
I should have read it ;(

Then I realized that the VM (2.8) simply crashes when you do something like
becoming an object with itself. Is it considered as a bug? 





More information about the Squeak-dev mailing list