Comment #0 by andrej.mitrovich — 2013-11-02T21:20:26Z
-----
void main()
{
int x;
{
int x = 1;
}
}
-----
$ dmd test.d
> test.d(6): Error: is shadowing declaration test.main.x
*What* is shadowing the declaration. It should print:
> test.d(6): Error: 'x' is shadowing declaration test.main.x