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


15:33 < jnthn> rakudo: multi f ($ (Int :$value)) { say "Int $value" }; 
multi f($ (Str :$value)) { say "Str $value" }; f('a' => 3); f('a' => 'foo')
15:33 <+p6eval> rakudo 523da4: OUTPUT«Ambiguous dispatch to multi 'f'. 
Ambiguous candidates had signatures:␤:(Any  (Int :value($value)))␤:(Any 
  (Str :value($value)))␤␤  in main program body at line 22:/tmp/6gqT8mG2KW␤»

...
15:34 < jnthn> moritz_: Yeah...even then, I'm a tad surprised about the 
ambiguity though.
15:35 < jnthn> I'm not sure I understand why it's calling it out as 
ambiguous.
15:35 < jnthn> That's worth of investigation.
15:35 < moritz_> and worth a ticket :-)
15:35 < jnthn> Sure, otherwise I'll forget. :-)

Reply via email to