https://issues.dlang.org/show_bug.cgi?id=13496
Issue ID: 13496
Summary: ArrayInitializer rule is redundant
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/grammar.html#NonVoidInitializer
OS: All
Status: NEW
Keywords: spec
Severity: normal
Priority: P1
Component: websites
Assignee: [email protected]
Reporter: [email protected]
Blocks: 10233
auto a = [1:2];
Matches both the ArrayInitializer rule and the ExpInitializer rule because the
ArrayInitializer rule is a copy of the AssocArrayLiteral and ArrayLiteral
rules. I suggest removing the ArrayInitializer, ArrayMemberInitialization, and
ArrayMemberInitializations rules from the language spec.
--