http://d.puremagic.com/issues/show_bug.cgi?id=2025
Walter Bright <bugzi...@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzi...@digitalmars.com --- Comment #2 from Walter Bright <bugzi...@digitalmars.com> 2012-01-22 01:30:32 PST --- Here's what's happening: Case 1 ------ 1 is an "exact" match with (int i) and (A...). Since (int i) is more specialized, it goes with (int i). Case 2 ------ int is a "convert" match with T (so that a better match would be Foo(T:int) and an "exact" match with (A...). The exact match wins. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------