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


<masak> rakudo: multi foo(&c where { .arity == 1 }) { say "One." };
multi foo(&c where { .arity == 2 }) { say "Two." }; foo({$^a + $^b +
$^c })
<p6eval> rakudo 33858: OUTPUT[Ambiguous dispatch to multi 'foo'.
Ambiguous candidates had signatures:␤:(Any c where all({ ... }))␤:(Any
c where all({ ... }))␤␤ [...]
<jnthn> That's...interesting. :-S
<pmichaud> change it to be "Failed dispatch to ..."
* masak submits rakudobug
<jnthn> It's not just wording. It really did think it was an ambiguity.
<masak> exactly.

Reply via email to