Permalink
Browse files

Update use of multi to include proto declaration.

  • Loading branch information...
1 parent fb3efa1 commit 7fa87bcce6a548c020fef59be45957aa7bcb2425 @pmichaud pmichaud committed Jun 28, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 S02-builtin_data_types/anon_block.t
@@ -136,6 +136,7 @@ isnt((sub { -> { 3 } }).(), 3, 'as are pointies');
is (sub (&x) { &x() }).( &rt68116 ), 68116,
'call via (sub (&x) { &x() }).( &s ) works for sub';
+ proto mone(|$) { * }
multi mone { 'one' }
is &mone(), 'one', 'check that mutli is callable via &';
is { &^x() }.( &mone ), 'one',

0 comments on commit 7fa87bc

Please sign in to comment.