(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

Reply via email to