[perl #77334] [BUG] For loops fail to decontainerize in Rakudo

2015-10-27 Thread jn...@jnthn.net via RT
On Fri Aug 22 13:46:45 2014, coke wrote: > On Fri Aug 22 09:52:24 2014, coke wrote: > > On Fri Aug 20 04:39:00 2010, masak wrote: > > > perl6: sub foo { my $s; for 1..3 { $s += $_ } } ; say > > > foo() > > > rakudo e45bf6: OUTPUT«666␤» > > > what is the rationale for this returning '666' > > >

[perl #77334] [BUG] For loops fail to decontainerize in Rakudo

2015-10-06 Thread jn...@jnthn.net via RT
On Sat Aug 30 08:31:30 2014, masak wrote: > n: sub foo { my $s = 0; ($s += $_ for 1..3) }; say foo() > niecza v24-109-g48a8de3: OUTPUT«1 3 6␤» > this is a data point, too. Niecza decontainerizes. It's a tad more sutble: 15:07 < jnthn> masak: Only tricky thing is that it may not be as simple as

[perl #77334] [BUG] For loops fail to decontainerize in Rakudo

2014-08-30 Thread Carl Mäsak via RT
n: sub foo { my $s = 0; ($s += $_ for 1..3) }; say foo() niecza v24-109-g48a8de3: OUTPUT«1 3 6␤» this is a data point, too. Niecza decontainerizes.