[perl #113026] array iterator does not track a growing array

2012-05-21 Thread Patrick R. Michaud via RT
I suspect this bug may be related to #112716 (https://rt.perl.org/rt3/Ticket/Display.html?id=112716); the .map() operation (which 'for' uses) tends to be a bit too eager in evaluating its invocant list. I've taken both bugs and will work on a fix shortly. Pm

[perl #113026] a much better bug report

2012-05-21 Thread Siddhant Saraf
(so please ignore my initial report, because it was lazily written, here is the proper bugreport, restated with clarity) The following loop should iterate infinitely, but it does not: my @array = 1, 2; for @array -> $n { $n.say; @array.push: $n + 2; } say @rray;

[perl #113026] array iterator does not track a growing array

2012-05-21 Thread via RT
# New Ticket Created by Siddhant Saraf # Please include the string: [perl #113026] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=113026 > $ perl6 -v This is perl6 version 2012.05-15-gdca0fa6 built on parrot 4.4.0 revi