Labels as values and threaded-code interpretation

bearophile bearophileHUGS at lycos.com
Sat Jun 1 20:09:53 PDT 2013


Timon Gehr:

> D (like C) uses a different namespace for labels and symbols 
> that are not labels.
>
> This compiles today:
>
> void main(){
>     int foo;
>     foo: auto b = &foo;
> }

On a related topic I wrote this:
http://d.puremagic.com/issues/show_bug.cgi?id=4902

Bye,
bearophile


More information about the Digitalmars-d mailing list