Shadowing of module global TLS variables is not an error
Per Nordlöw
per.nordlow at gmail.com
Fri Aug 14 08:58:04 UTC 2020
Shouldn't this code give a shadowing error?
int x; // global?
void test() @safe nothrow @nogc
{
int x = x; // shouldn't this give a
shadowing warning?
}
More information about the Digitalmars-d
mailing list