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


rakudo: multi s (Int $x) { ~$x }; multi s (Str $x) { $x }; say &s.arity
rakudo 31d41e: OUTPUT«Method 'arity' not found for invocant of class
'Perl6MultiSub'␤  in main program body at line 22:/tmp/iCLjYkQl5A␤»

.count and .arity are not implemented on multisubs.  Their meaning on
multisubs should be unambiguous--.arity returning the minimum arity of all
the candidates and .count returning the maximum count of all the candidates.

Reply via email to