Comment #2 on issue 7114 by
[hidden email]: Association == doesn't
work in workspace
http://code.google.com/p/pharo/issues/detail?id=7114Sorry, I disagree with the 'solution'.
The problem/issue is related to _how_ something is evaluated in a
workspace. Apparently, some code cannot deal with the cycle in the
datastructure. Maybe it tries printing, comparing or inspecting some object
and gets into a loop.
Currently, any circular datastructure will get the system into a loop when
printing or comparing it. Most of the time, inspecting works (unless
printing is involved). This is the way it is, it is a system wide problem.
It would be cool to solve this one day.
What the 'solution' actually does is fix the #= test for direct cycles in
the value part by shortcutting the comparison immediately using #==. It is
clever, but solves just one very particular case.
What about a loop in the key part ? What about a more indirect loop ?
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker