[Pharo-project] Infinite recursion

Guillermo Polito guillermopolito at gmail.com
Wed Nov 17 17:44:13 CET 2010


Hi,

Yesterday I got into an infinite recursion, because of adding an ordered
collection into itself.  And #hash is defined in terms of its containees,
hehe.

Why I did that? It doesn't really matters. I was testing a little project
I'm doing for the University.

So I came into an infinite recursion, which didn't stop until the VM run out
of memory...  And the question is.. Shouldn't it throw an error like a stack
overflow when we run into those cases?

Cheers,
Guille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/pharo-project/attachments/20101117/666c4caa/attachment.htm>


More information about the Pharo-project mailing list