[BUG] Compiler, become: and String literals.
Brent Pinkney
brent.pinkney at aircom.co.za
Fri Sep 19 12:30:50 UTC 2003
Hi,
I need some help.
If I print this in a workspace (or even code it in a method) I get
a := 'ab'.
b := 'cd'.
a become: b.
a = 'cd'
--> false
However
a := 'ab' copy.
b := 'cd' copy.
a become: b.
a = 'cd'
--> true.
This makes no sense to me. I suspect the compiler may be doing something
odd with String literals.
Is this a bug or how it should work ?
Cheers
Brent
More information about the Squeak-dev
mailing list
|