On Fri Jan 30 20:37:51 2009, s1n wrote:
> On Sat Jan 17 14:30:47 2009, masak wrote:
> > $ perl6 -e 'my @a = "a" xx 5; @a[1] = "b"; say @a'
> > abaaa
> > $ perl6 -e 'push my @a, "a" xx 5; @a[1] = "b"; say @a'
> > bbbbb
> > $ svn info | grep Revi
> > Revision: 35707
> 
> I'm not sure I understand how cloning would have caused the "b" to be
> xx'ed all over @a when it was only setting @a[1].

You're right, it shouldn't do that. Hence this bug ticket.

> Here's what r36167 is
> currently doing:
> 
> $ perl6 -e 'push my @a = "a" xx 5; @a[1] = "b"; say @a'
> abaaa
> 
> That looks correct to me.

Indeed. Resolving.

Reply via email to