pragma is driving me crazy, the following doesn't work:
auto members = __traits(allMembers, typeof(this));
foreach(m; members)
{
pragma(msg, m);
}
-> Error: string expected for message, not 'm'
Though the docs clearly state:
allMembers: "An array of string literals is returned"
Also checked that, m is of type invariant(char)[].
Any ideas? -.-
