This is an automatically generated mail to inform you that tests are now available in t/spec/S06-operator-overloading/sub.t
commit 34184fb3629630d8b8c0e2f0bb15b23652ea9dcd Author: frew <f...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Sat Aug 29 20:41:15 2009 +0000 add test for RT68662 git-svn-id: http://svn.pugscode.org/p...@28114 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-operator-overloading/sub.t b/t/spec/S06-operator-overloading/sub.t index 9ef6ee6..64657f9 100644 --- a/t/spec/S06-operator-overloading/sub.t +++ b/t/spec/S06-operator-overloading/sub.t @@ -103,7 +103,7 @@ Testing operator overloading subroutines { sub postfix:<W> ($wobble) { return "ANDANDAND$wobble"; }; - is("boop"W, "ANDANDANDboop", + is("boop"W, "ANDANDANDboop", 'postfix operator overloading for new operator'); } @@ -294,4 +294,12 @@ Testing operator overloading subroutines } +#?rakudo skip 'RT #68662' +{ + multi sub infix:<+=> (Num $a, Num $b) { $a -= $b } + my $frew = 10; + $frew += 5; + is $frew, 15, 'infix redefinition of += works'; +} + # vim: ft=perl6