--- Comment #1 from Claude <> ---
Actually it is not certain that is a Phobos problem, as replacing the
moduleName template within std.traits by that reduced code:

template moduleName(alias A)
    // __traits(parent) returns "module modName"
    // so we just retreive "modName"
    enum moduleName = (__traits(parent, A).stringof)[7 .. $];

... leads to a wrong result (ignoring the fact package names are not prepended
to the module name in that code of course, which is not the issue here anyway).


Reply via email to