Hello,

I think it would helpful if the spec addressed "who wins" in MMD when
optional arguments are present.

I just submitted these failing tests for pugs which illustrate the
issue.

not ok 11 - Arguments (a => 'b') to signatures 1. () and 2. (*%h) calls 2
not ok 14 - Arguments () to signatures 1. (@a?) and 2. () calls 2
not ok 15 - Arguments (<1 2 3>) to signatures 1. () and 2. (@a?) calls 2

In summary, matches that should otherwise happen are failing because
the "optionalness".

    Mark

Reference:
http://feather.perl6.nl/syn/S12.html#Multisubs_and_Multimethods

Reply via email to