Summary: Undefined enum AA key crashes compiler
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Andrej Mitrovic <> 2012-03-03 
18:00:30 PST ---
// enum str = "";  // comment out to avoid crash

void main()
    enum foo = 
        str : "functions",

When 'auto' is used it doesn't crash the compiler but gives a nice error
Error: undefined identifier str

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

Reply via email to