anObject becomeForward: aSmallInteger
Michael van der Gulik
squeakml at gulik.co.nz
Sun Jun 25 11:07:26 UTC 2006
Why can an object not #becomeForward to a SmallInteger? The primitive fails.
A SmallInteger's value is stored in the actual pointer. It makes them a
special case, but the abstraction is surprisingly water-tight :-)!
I don't see any reason why this primitive can't succeed with this case.
Just carve out the object reference and stick a SmallInteger there, or
vice versa. Is there something obvious that I'm missing?
Mikevdg.
More information about the Squeak-dev
mailing list
|