Playing with some recursive data-structure I have found some strange piece of behavior in Pharo.
a := Association new.
a key: 3.
a value: a.
a == a value.
the first time we get "true", the second we get an infinite loop...
A simple workaround is to declare "a":
|a|
a := Association new.
a key: 3.
a value: a.
a == a value.
My question now is: Is this a bug or a feature ?
By the way the same thing happens in 1.4 and 2.0 equally.
By the way, in Pharo 2.0 doing cmd + . erases the lines selected in the workspace replacing them by "."
Cheers,
--
Dr. Ciprian TEODOROV
Ing�nieur D�veloppement CAO
t�l : 06 08 54 73 48
mail : ciprian.teodorov@gmail.com
www.teodorov.ro