[perl #62474] Rakudo forgets to clone when pushing xx'ed values to an array

2009-01-31 Thread Carl Mäsak via RT
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' > > b > > $ svn info | grep Revi > > Revision: 35707 > > I'm not sure I understand how

[perl #62474] Rakudo forgets to clone when pushing xx'ed values to an array

2009-01-18 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #62474] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=62474 > $ perl6 -e 'my @a = "a" xx 5; @a[1] = "b"; say @a' abaaa $ perl6 -e 'push my @a, "a" xx