[perl #125745] Custom infix:<~~> multi not used by rakudo

2015-08-14 Thread Christian Bartolomaeus via RT
I added a test with commit d2d4f7a9. In comments to PR 487 it was suggested to make the error message even better by mentioning .ACCEPTS (https://github.com/rakudo/rakudo/pull/487#issuecomment-127776087). Should we leave the ticket open until someone does that or is the ticket closeable?

[perl #125745] Custom infix:<~~> multi not used by rakudo

2015-08-04 Thread Christian Bartolomaeus via RT
I created a PR for rakudo (following RT #125427): https://github.com/rakudo/rakudo/pull/487 $ perl6-m -e 'class Foo { }; multi sub infix:<~~>(Foo $a, Foo $b) { 42.6 }; say Foo.new ~~ Foo; say infix:<~~>(Foo.new, Foo)' ===SORRY!=== Error while compiling -e Cannot override infix operator '~~', as

Re: [perl #125745] Custom infix:<~~> multi not used by rakudo

2015-08-03 Thread Moritz Lenz
Hi, On 04.08.2015 00:52, Faye (via RT) wrote: # New Ticket Created by Faye # Please include the string: [perl #125745] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125745 > m: class Foo { }; multi sub infix:<~~>(Foo $a, Fo

[perl #125745] Custom infix:<~~> multi not used by rakudo

2015-08-03 Thread via RT
# New Ticket Created by Faye # Please include the string: [perl #125745] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125745 > m: class Foo { }; multi sub infix:<~~>(Foo $a, Foo $b) { 42.6 }; say Foo.new ~~ Foo; say infix: