http://d.puremagic.com/issues/show_bug.cgi?id=1528
--- Comment #11 from Walter Bright <[email protected]> 2013-02-24 21:54:47 PST --- (In reply to comment #10) > f3(1); // 1 > f3(1L); // 2 > > f4(1); // ambiguous > f4(1L); // ambiguous > > f5(1); // 1 > f5(1L); // 1 > > f6(1); // 1 > f6(1L); // 2 > } The more specialized overload always wins. The constraint is not considered when evaluating which is "more specialized". (Because in general we cannot evaluate that.) The constraint only determines if an overload is to be considered - it does not determine ordering. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
