Open pdebruic opened 2 years ago
I don't even think the test needs to be complex like this it was just the one I made prior to working out that the Sets needed to be rehashed. Seems like maybe a registry would be better than rehashing them when you see them, then rehashing all Sets all at once. I've no idea.
Cycles in collections are generally problematic.
e.g. you can not even inspect an Arrray that points to itself. #hash is an endless loop...
There is an issue tracker entry here: https://github.com/pharo-project/pharo/issues/7724
with PR #144 this test will lock up the image: