assignment message (Re: [squeak-dev] Re: Selectors with underscores)

Stéphane Rollandin lecteur at zogotounga.net
Thu Mar 18 08:38:27 UTC 2010


> it won't go that way, because #becomeForward: replacing all references
> to same object:
>
> a := z.
> b := z.
> (here a and b pointing to same object - z)
>
> b := x.
>
> now, 'a' should still point to 'z', while 'b' should point to 'x'.
> but if you do z becomeForward: x , then both a and b will point to x.

right. that's what I missed :)

Stef





More information about the Squeak-dev mailing list