From: Dave Thomas <Dave / thomases.com>
Subject: [ruby-talk:01089] Re: Infinite loop
Date: 11 Jan 2000 02:18:48 -0600

> Thanks. I understand the above, though. I was interested that the
> interpreter looped when 'a' is used as a hash key, but:

oops, sorry I mis-read you post ;p and thanks Clemens for pointing
out.

I guess I should wait for Matz or somebody else who knows the internal
of the Ruby.

$ ruby -e "a=[1,2,3];a[1]=a; p a.hash"
/tmp/rbOT3nrs:1:in `hash': stack level too deep (SystemStackError)
--
         yashi