Skip to content

Commit

Permalink
Fudge for niecza.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Jan 2, 2012
1 parent 94ec2d4 commit cb88c13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions S02-types/anon_block.t
Expand Up @@ -31,6 +31,7 @@ isa_ok($anon_block, Block);
is($anon_block(), 1, '{} <anon block> works');

# RT #64844
#?niecza skip "Exception NYI"
{
eval '$anon_block( 1 )';
#?rakudo todo 'Parrot support for zero-arg subs?'
Expand Down Expand Up @@ -135,7 +136,10 @@ isnt((sub { -> { 3 } }).(), 3, 'as are pointies');
'call via -> &point { &point() }.( &s ) works for sub';
is (sub (&x) { &x() }).( &rt68116 ), 68116,
'call via (sub (&x) { &x() }).( &s ) works for sub';
}

#?niecza skip 'No candidates for dispatch to mone'
{
proto mone(|$) { * }
multi mone { 'one' }
is &mone(), 'one', 'check that mutli is callable via &';
Expand Down

0 comments on commit cb88c13

Please sign in to comment.