[Issue 6140] New: Wrong ambiguity error with overloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 9 21:44:07 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6140

           Summary: Wrong ambiguity error with overloading
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrei at metalanguage.com


--- Comment #0 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-06-09 21:39:34 PDT ---
void fun(T...)() {}
void fun(T...)(uint) {}

void main()
{
    fun!(main)(3u);
    fun!(main)(3);
}

This test fails in two different ways for the two lines of main. It shouldn't
fail at all.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list