On Wed, 25 Jun 2003 07:58:13 +0000, Tim Sutherland wrote:

> In article <pan.2003.06.24.15.18.20.256706 / sneakemail.com>, Simon Strandgaard
> wrote:
> [...]
>> Thats about it... The issues about Ruby's behavier, I don't know enough 
>> about. This is what I hope that a ruby-expert-system could tell me:
>> * are you aware that Ruby-1.6.8 has a bug in Array#method.
>> * a=[1,2];b=a;b[1]=3;p a   #=> [1, 3]
> [...]
> 
> Hi Simon. This is not a bug. 'a' and 'b' refer to the same object.
> Array#[]= mutates the object.

I know this is not a bug..  This was just examples of what such expert
system could tell you.   The 2 lines you see is 2 different entries.
Admitted they can easily be confused as one.

--
Simon Strandgaard