foreach

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 12 14:41:36 PDT 2014


On 06/12/2014 10:06 PM, Steven Schveighoffer wrote:
>>
>
> I don't think it's as trivial as you imply. You have to use a symbol
> that's valid, but isn't used in the subsequent loop to avoid collisions.
>
> -Steve

Why would implicit local variables need unique names? This can be 
implemented by preventing identifiers named '_' to be inserted into the 
symbol table.


More information about the Digitalmars-d mailing list