Summary: [UFCS] explicit template function instantiation as
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Kasumi Hanazuki <> 2012-03-13 15:21:09 
PDT ---
DMD(2.059HEAD) rejects UFCS with an explicitly instantiated template function
called as a property.


void f(T)(T a) { }

void main() {
    int x;
    x.f;        // accepted
    x.f();      // accepted
    x.f!int;    // rejected -- "f(x) isn't a template"
    x.f!int();  // accepted

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

Reply via email to