Bug 5315 – array initializer accepts empty initializers

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-12-03T15:31:00Z
Last change time
2012-01-20T12:38:08Z
Assigned to
nobody
Creator
ellery-newcomer

Attachments

IDFilenameSummaryContent-TypeSize
837diff.patchit's a patch!text/plain474

Comments

Comment #0 by ellery-newcomer — 2010-12-03T15:31:18Z
int[] wheeeeeee = [1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2];
Comment #1 by ellery-newcomer — 2010-12-03T15:32:21Z
Created attachment 837 it's a patch!
Comment #2 by bugzilla — 2012-01-20T12:38:08Z
It's rejected by 2.057.