# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #71258]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=71258 >


In Rakudo 7ef386:

$ perl6 -e 'class A {}; say (A.new, A.new).sort'
Multiple Dispatch: No suitable candidate found for 'cmp', with signature 'PP->I'
[...]

$ perl6 -e 'class A {}; multi sub cmp(A $a, A $b) { 1 }; say (A.new,
A.new).sort'
Multiple Dispatch: No suitable candidate found for 'cmp', with signature 'PP->I'
[...]

I'm not sure the end user should ever see that ungainly
error-with-Parrot-signature. It's also unfortunate that there doesn't
seem to be a way to make it go away for user-defined classes.

Reply via email to