On Mon Apr 20 00:38:43 2009, masak wrote:
> <cspencer> rakudo: multi foo(Int $x, Bool :$flag, *...@vals) { say "bar
> 1" }; foo(1)
> <p6eval> rakudo 0d5515: OUTPUT«bar 1»
> <cspencer> rakudo: multi foo(Int $x, Bool :$flag, *...@vals) { say "bar
> 1" }; foo(1, 2, 3, 4, 5)
> <p6eval> rakudo 0d5515: OUTPUT«No applicable candidates found to
> dispatch to for 'foo'
> <cspencer> can anybody explain why dispatch fails on the second?
> <pmichaud> bug.
> * masak submits
Fixed in git 14bba5f and added tests to S06-multi/syntax.t.
Thanks,
Jonathan