[Issue 14719] New: Template instantiation parsed as C-style type cast

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 22 00:49:25 PDT 2015


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

          Issue ID: 14719
           Summary: Template instantiation parsed as C-style type cast
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: yshuiv7 at gmail.com

I tried to instantiation nested template:

template a(A) {
    void a(B)() { }
}

list this:

(a!A)!B

Which is parsed as a C-style cast.

--


More information about the Digitalmars-d-bugs mailing list