On Sat Oct 10 16:50:45 2009, KyleHa wrote:
> diff --git a/t/spec/S06-multi/proto.t b/t/spec/S06-multi/proto.t
> index 6e78b4f..b1e4ecf 100644
> --- a/t/spec/S06-multi/proto.t
> +++ b/t/spec/S06-multi/proto.t
> @@ -54,4 +54,16 @@ is(foo(42), 1, 'dispatch with no possible
> candidates fell back to proto');
> eval_dies_ok 'proto rt68242($a){};proto rt68242($c,$d){};',
> 'attempt to define two proto subs with the same name dies';
>
> +# RT #65322
> +{
> + my $rt65322 = q[
> + multi sub rt65322( Int $n where 1 ) { 1 }
> + sub rt65322( Int $n ) { 2 }
> + ];
> + #?rakudo todo 'RT #65322'
> + eval_dies_ok $rt65322, "Can't define sub and multi sub without
> proto";
> +}
> +
Just un-todo'd this test, since it's now passing. Resolving ticket.
Thanks,
Jonathan