Bug 2502 – compiler crashes on erroneous AA declaration
Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2008-12-10T00:48:00Z
Last change time
2014-03-01T00:36:20Z
Assigned to
bugzilla
Creator
ellery-newcomer
Comments
Comment #0 by ellery-newcomer — 2008-12-10T00:48:05Z
something like
int[wchar[2]] stuff;
causes compiler to crash with output akin to
Internal error: e2ir.c 3894
Would be nice if it at least told me what was going on.
Comment #1 by bugzilla — 2008-12-10T18:48:51Z
Works fine with dmd 1.037 and 2.021.
Comment #2 by ellery-newcomer — 2008-12-10T19:05:40Z
(In reply to comment #1)
> Works fine with dmd 1.037 and 2.021.
>
Oops.
exact code:
void main(){
int[wchar[2]] codes;
codes["US"] = 3;
}
Sorry