This is an automatically generated mail to inform you that tests are now available in t/spec/S06-multi/proto.t
commit ffe05f1314947976ea1508ff3d1908e6ab3e1a3a Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Thu Aug 6 21:13:20 2009 +0000 [t/spec] Test for RT #68242 git-svn-id: http://svn.pugscode.org/p...@27887 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-multi/proto.t b/t/spec/S06-multi/proto.t index d14ff9d..b910674 100644 --- a/t/spec/S06-multi/proto.t +++ b/t/spec/S06-multi/proto.t @@ -1,6 +1,6 @@ use v6; use Test; -plan 12; +plan 13; # Test for proto definitions class A { } @@ -49,3 +49,7 @@ is(foo(42), 1, 'dispatch with no possible candidates fell back to proto'); multi prefix:<elk> ($arg) { $arg + 1 } is (elk 3), 4, "multi definition of prefix:<elk> works"; } + +#?rakudo todo 'RT #68242' +eval_dies_ok 'proto rt68242($a){};proto rt68242($c,$d){};', + 'attempt to define two proto subs with the same name dies';