Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #113026] a much better bug report

1 view
Skip to first unread message

Siddhant Saraf

unread,
May 21, 2012, 12:52:45 PM5/21/12
to perl6-bug...@perl.org
(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;

$ perl6 --version
This is perl6 version 2012.05-15-gdca0fa6 built on parrot 4.4.0
revision RELEASE_4_4_0

bug discovered: http://irclog.perlgeek.de/perl6/2012-05-21#i_5619326
0 new messages