declarations in first scope compile, alias Y in second scope causes an error.
struct Z {alias A = void;}
{
alias X = Z;
alias Y = X.A;
}
{
alias X = TypeTuple!(Z);
alias Y = X[0].A; // source/main.d(28): Error: semicolon expected to close alias declaration
}
compile with dmd git head, built yesterday
Comment #1 by clem — 2015-03-15T19:19:58Z
*** This issue has been marked as a duplicate of issue 1215 ***