Summary: Internal error on access of instance fn on nested
                    templated struct type
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Michal Minich <> 2012-03-13 06:27:48 
PDT ---
dmd 2.058

struct S {
    struct S2 (T) {
        void fn () {}

void main () {
    S s;
    s.S2!int.fn();  // Internal error: e2ir.c 688

happens only when no other error is in file
there should be some error message because fn is not static
when fn is static it compiles file as it should

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

Reply via email to