https://issues.dlang.org/show_bug.cgi?id=20341

          Issue ID: 20341
           Summary: [REG 2.063] 'this' required for explicit instantiation
                    of template member function using template this
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

struct S {
    void fun(int i, this This)() { }
    void gun() {
        // Works:
        this.fun!0();
        // Fails:
        fun!0();
    }
}

According to https://run.dlang.io/is/CKwb4V, this used to work up until 2.062.

--

Reply via email to