From: Dave Thomas Date: 2000-01-11T02:22:14-06:00 Subject: [ruby-talk:01090] Re: Infinite loop Clemens Hintze writes: > Perhaps the hash function of that array, could be able to know that > it is calculating the reference to itself and so does not looping?!? a = [1,2,3] a[1] = a p a p a.to_s p a.id p a.hash >> [1, [...], 3] "11[...]33" 537681066 <> Exactly - it just seems inconsistent, but as I mentioned originally, I don't think it's necessarily a bug ;-) Regards Dave