This is an automatically generated mail to inform you that tests are now available in t/spec/S06-operator-overloading/sub.t
commit 0dfc369d60e934bfaa91de967f58e5d4d12198be Author: bbkr <b...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Tue Aug 3 12:53:29 2010 +0000 [t/spec] tests for RT #74104 overloading an operator hides other candidates git-svn-id: http://svn.pugscode.org/p...@31894 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-operator-overloading/sub.t b/t/spec/S06-operator-overloading/sub.t index acb7524..57094f6 100644 --- a/t/spec/S06-operator-overloading/sub.t +++ b/t/spec/S06-operator-overloading/sub.t @@ -399,6 +399,14 @@ Testing operator overloading subroutines is $x, 6, 'bar= works for custom operators'; } + +# RT #74104 +{ + class RT74104 {} + multi sub infix:<+>(RT74104 $, RT74104 $) { -1 } + is 2+2, 4, 'overloading an operator does not hide other candidates'; +} + done_testing; # vim: ft=perl6