http://digitalmars.com/d/2.0/statement.html#WithStatement WithStatement: with ( Expression ) ScopeStatement with ( Symbol ) ScopeStatement with ( TemplateInstance ) ScopeStatement Symbol is unspecified in the grammar. I think this is fixed by adding: Symbol: Identifier but, I'm not 100% sure.
http://www.dsource.org/projects/phobos/changeset/1383
Fixed dmd 1.054 and 2.038