Comment #0 by iamthewilsonator — 2019-06-16T02:13:58Z
float x;
void test()
{
short x;
void nested() const
{
int x;
pragma(msg, typeof(.x)); // float - fine disambiguated with leading .
pragma(msg, typeof( x)); // int - ?? should give error
}
}
this should give an error that the int x shadows the short x
Comment #1 by robert.schadek — 2024-12-13T19:04:00Z