On Sat Dec 13 08:08:17 2008, masak wrote:
> <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.

And now in r34018 it gives "No applicable candidates found to dispatch
to for 'foo'", as it should have.

Thanks,

Jonathan

Reply via email to