sorear/niecza — Issue #81: Bug in recursion and loops
Author: coke
Created: 2011-12-06 21:21:58+00:00
State: open

See: https://rt.perl.org/rt3//Ticket/Display.html?id=103332

There's a failing test in t/spec/S04-statements/for.t that was recently added for rakudo.

`

my $t = '';
my $c;
sub r($x) {
my $h = $c++;
r $x-1 if $x;
for 1 { $t ~= $h };
};
r 3;
is $t, '3210', 'can mix recursion and for (RT 103332)';

`