The following is a regression from 2.066.1 to the current git master (v2.067-devel-d957c64)
Compiling these two files gives the error "Error: variable a.C.NameS is not accessible from module b".
a.d:
---
import b;
import std.typetuple;
class C
{
private struct InnerStruct(string NameS)
{
alias Name = NameS;
}
alias DimensionNames = staticMap!(GetName, InnerStruct!"A");
}
---
b.d:
---
template GetName(TemplateParam)
{
enum GetName = TemplateParam.Name;
}
---