On Tue, May 17, 2005 at 07:00:23AM -0700, Larry Wall wrote: > On Tue, May 17, 2005 at 01:50:48PM +0000, Luke Palmer wrote: > : Is that still the case? I don't recall us getting rid of it, but it > : doesn't seem to be documented in the AES. > > We didn't get rid of it.
So does it mean that a "3-story" multisub with two colons will always win against one with one colon? multi sub foo (Any $x: Str $y: Str $z, Str $w) { 1 } multi sub foo (Str $x, Str $y: Str $z, Str $w) { 2 } say foo("x", "y", "z", "w"); # 1 Is the final level ($z and $w) participating in the MMD at all as tiebreakers? Luke mentioned that in all levels but the final one, Manhattan distance (sum of inheritance deltas of each invs to the expected types) is used, but on the final level, leftmost tiebreaking is used. Is that the case? If yes, why? :) Thanks, /Autrijus/
pgpOwtC66i1df.pgp
Description: PGP signature