Summary: Segfault on accessing undefined identifier
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Maxim Fomin <> 2012-09-11 08:18:43 PDT 
union MutableConst(T, bool isDefaultMutable)
    const T c;
    T i;
    static if (isMutable) //bug
        alias i this;
        alias c this;

struct S
    MutableConst!(int, false) val;

void main()


DMD produces three times error "hello.d(5): Error: undefined identifier
" and then crashes.

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

Reply via email to