Summary: One case of template type deduction
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-09-20 10:17:13 PDT ---
Is this supposed to work? If the answer is negative, maybe it's a good idea to
support this:

struct Foo(T) {}
void bar(Spam, T)(Spam!T y) {}
void main() {
    Foo!int x;

DMD 2.061alpha gives:

temp.d(5): Error: template does not match any function template
temp.d(5): Error: template,T) cannot deduce template function
from argument types !()(Foo!(int))

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

Reply via email to