https://issues.dlang.org/show_bug.cgi?id=16123

--- Comment #1 from Sobirari Muhomori <[email protected]> ---
I guess, you can alias a symbol, but then the compiler doesn't know what S's
symbol in T struct means.

struct S
{
   int x;
   alias y = x;
}

actually means

struct S
{
   int x;
   alias y = S.x;
}


struct T
{
   S s;
   alias y = S.x; // what this means?
}

--

Reply via email to