From: ts Date: 2002-01-26T02:20:03+09:00 Subject: Re: Serious Array Bug in Ruby 1.6.6? >>>>> "W" == William Djaja Tjokroaminata writes: W> I make a hypothesis that if we change the behavior of Array.new (using W> Object#dup or clone), it will not break many existing codes, because for W> people who wrote a = Array.new (n, 'a') it still works while I don't think no, you have the same problem with String pigeon% ruby -e 'a = Array.new(2, "a"); a[0][0] = "b"; p a' ["b", "b"] pigeon% Guy Decoux