D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5315 - array initializer accepts empty initializers
Summary: array initializer accepts empty initializers
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Linux
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 15:31 UTC by Ellery Newcomer
Modified: 2012-01-20 12:38 UTC (History)
1 user (show)

See Also:


Attachments
it's a patch! (474 bytes, patch)
2010-12-03 15:32 UTC, Ellery Newcomer
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description Ellery Newcomer 2010-12-03 15:31:18 UTC
int[] wheeeeeee = [1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,2];
Comment 1 Ellery Newcomer 2010-12-03 15:32:21 UTC
Created attachment 837 [details]
it's a patch!
Comment 2 Walter Bright 2012-01-20 12:38:08 UTC
It's rejected by 2.057.