[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01092] Re: Infinite loop

From: Clemens Hintze <clemens.hintze@...>
Date: 2000-01-11 09:16:33 UTC
List: ruby-talk #1092
Dave Thomas writes:
> Clemens Hintze <c.hintze@gmx.net> writes:

[...]

>      [1, [...], 3]
>      "11[...]33"
>      537681066
>      <<infinite loop>>
> 
> 
> Exactly - it just seems inconsistent, but as I mentioned originally, I 
> don't think it's necessarily a bug ;-)

But here we differ in opinion! In my eyes, this *is* necessarily a
bug! I often had Array's referencing itself. It is more of a fact of
accident, that I had never tried to take a hash id from such an array! 
;-)

I think, there should be a way to let ruby handle such request
correctly. But I have to admit, that I have no idea, right now, how we
could achieve it! :-}

>    Regards Dave

Regards
Cle.

In This Thread