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

           Summary: Template function lookup should match non-template
                    behavior for implicit conversion to shared params
           Product: D
           Version: 2.040
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: s...@invisibleduck.org


--- Comment #0 from Sean Kelly <s...@invisibleduck.org> 2010-05-05 14:30:07 PDT 
---
void op(shared(int) x) {}
void opT(T)(shared(T) x) {}

void main()
{
    int x;
    op(x); // works
    opT(x); // fails but should work
}

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

Reply via email to