[Issue 4066] New: [ICE] enum AA get
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 5 05:44:15 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4066
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
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list