Summary: template specialization resolution failure
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-09-20 11:10:34 PDT ---
void foo(uint v:0, string op)()
  pragma(msg, "specialized");

void foo(uint v, string op)()
  pragma(msg, "unspecialized");

void main()
  foo!(0u, "+")();


This will give a false error to be ambiguous.
It happens due to unintended sharing of global state when creating dummy
expressions during partial ordering.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to