digitalmars.D.bugs - [Issue 13496] New: ArrayInitializer rule is redundant
- via Digitalmars-d-bugs (22/22) Sep 18 2014 https://issues.dlang.org/show_bug.cgi?id=13496
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: nobody puremagic.com Reporter: briancschott gmail.com 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. --
Sep 18 2014