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.
The Tuple should just be removed. Expressions can evaluate to Tuples.
http://www.dsource.org/projects/phobos/changeset/1384
Fixed dmd 1.054 and 2.038