foreach syntax

Timon Gehr timon.gehr at gmx.ch
Fri Jun 29 07:25:11 PDT 2012


On 06/29/2012 04:23 PM, Timon Gehr wrote:
> ...
>> foreach(x;y,data).
>
> error: undefined identifier y
>

BTW, it would certainly be better if this didn't actually pass the parser.


More information about the Digitalmars-d-learn mailing list