# New Ticket Created by Cory Spencer # Please include the string: [perl #63404] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=63404 >
[1:19pm] cspencer:rakudo: multi foo(Bool :$baz = Bool::False, *...@vals) { say "foo" }; foo(:baz(Bool::True), 1, 2, 3); [1:19pm] p6eval:rakudo 2a9382: OUTPUT«No applicable candidates found to dispatch to for 'foo'current instr.: '_block14' pc 91 (EVAL_16:47)» [1:19pm] cspencer:pugs: multi foo(Bool :$baz = Bool::False, *...@vals) { say "foo" }; foo(:baz(Bool::True), 1, 2, 3); [1:19pm] p6eval:pugs: OUTPUT«foo» [1:20pm] cspencer:is rakudo's MMD not working correctly in the above example? [1:23pm] jnthn:Hmm...well, named params don't participate int he dispatch...but even so that call looks to me like it shoulda worked... [1:25pm] cspencer:jnthn: it seems to be the Bool type in the signature that does it [1:26pm] cspencer:rakudo: multi foo(Int :$baz = 1, *...@vals) { say "foo" }; foo(:baz(2), 1, 2, 3); [1:26pm] p6eval:rakudo 2a9382: OUTPUT«foo» [1:30pm] jnthn:Hmm..curious. [1:30pm] jnthn:cspencer: File a ticket, I'll look into it. [1:30pm] cspencer:will do