Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
skip &?BLOCK test on rakudo, RT 125131
  • Loading branch information
FROGGS committed May 7, 2015
1 parent 66f2576 commit fd322e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions S02-magicals/block.t
Expand Up @@ -12,12 +12,13 @@ This tests the &?BLOCK magical from Synopsis 6

plan 1;


#?rakudo skip '&?BLOCK NYI RT #125131'
{
# L<S02/Names/Which block am I in?>
# L<S06/The C<&?BLOCK> object/tail-recursion on an anonymous block:>
my $anonfactorial = -> Int $n { $n < 2 ?? 1 !! $n * &?BLOCK($n-1) };

my $result = $anonfactorial(3);
is($result, 6, 'the $?BLOCK magical worked');

is($result, 6, 'the &?BLOCK magical worked');
}
# vim: ft=perl6

0 comments on commit fd322e4

Please sign in to comment.