Summary: can't specialize parameterized template value
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-03-13 04:13:01 PDT ---
cat > bug.d << CODE
template foo(T, T val : 0) { }
alias foo!(int, 0) fooi0;

dmd -c bug


bug.d(2): Error: forward reference to type T
bug.d(2): Error: cannot implicitly convert expression (0) of type int to T

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

Reply via email to