This is an automatically generated mail to inform you that tests are now available in t/spec/S06-multi/syntax.t
commit 71dc6c2454e83fb2ca5bc7c424d8284f906fcefd Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Mon Aug 10 21:51:49 2009 +0000 [t/spec] Test for RT #68234 git-svn-id: http://svn.pugscode.org/p...@27953 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-multi/syntax.t b/t/spec/S06-multi/syntax.t index d0136dd..f5c2b29 100644 --- a/t/spec/S06-multi/syntax.t +++ b/t/spec/S06-multi/syntax.t @@ -2,7 +2,7 @@ use v6; use Test; -plan 25; +plan 27; # L<S06/Routine modifiers/> # L<S06/Parameters and arguments/> @@ -72,4 +72,13 @@ is(~&foo, 'foo', 'a multi stringifies sensibly'); is nsi_2(1, 2, 3), 'nsi 2', 'interaction between named and slurpy (4)'; } +# RT #68234 +{ + multi rt68234(:$key!) { 'with key' }; + multi rt68234(*%_) { 'unknown' }; + is rt68234(:key), 'with key', 'can find multi method with key'; + #?rakudo skip 'RT #68234' + is rt68234(:unknown), 'unknown', 'can find multi method with slurpy'; +} + # vim: ft=perl6