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

Reply via email to