Summary: [ICE] enum AA get
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-04-05 05:44:14 PDT ---
void main() {
    enum int[string] aa = ["aa":1, "bb":2];
    string s = "xx";
    int r = aa.get(s, -1);

dmd 2.042 gives:
Internal error: e2ir.c 4600

The error vanishes if aa is not an enum.

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

Reply via email to