Summary: Class members with default template arguments have no
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-02-22 13:17:25 PST ---
DMD 2.058

class Test
    void test(T, bool a = true)(T t)


void main()
    auto test = new Test;
    pragma(msg, typeof(test.test!(int, true)).stringof);
    pragma(msg, typeof(test.test!(int)).stringof); // Error: expression
(test.test!(int)) has no type

Doesn't happen if test is a free function or a nested function.

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

Reply via email to