Summary: Regression(2.051): Template member functions of a
                    shared class don't compile
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2011-01-29 12:59:16 PST ---
shared class C
    void foo(T)(T a) {}

void main()
    auto c = new C;;
Compiles in DMD 2.050. But 2.051 gives:
test0.d(9): Error: template does not match any function template
test0.d(9): Error: template cannot deduce template function from
argument types !()(int)

Doesn't happen if foo is a normal (non-template) function.

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

Reply via email to