Bug 3587 – Aggregate rule references undefined Tuple

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2009-12-07T07:28:00Z
Last change time
2015-06-09T01:27:03Z
Keywords
spec
Assigned to
nobody
Creator
jlquinn

Comments

Comment #0 by jlquinn — 2009-12-07T07:28:10Z
http://digitalmars.com/d/2.0/statement.html#ForeachStatement The Aggregate rule is defined as follows: Aggregate: Expression Tuple However, Tuple is only defined by example. The grammar needs an entry to specify what is actually legal here. Without that you can't write, say, a bison grammar without inventing the missing bits.
Comment #1 by bugzilla — 2009-12-14T02:06:15Z
The Tuple should just be removed. Expressions can evaluate to Tuples.
Comment #2 by leandro.lucarella — 2009-12-14T06:26:00Z
Comment #3 by bugzilla — 2009-12-31T11:13:24Z
Fixed dmd 1.054 and 2.038