https://issues.dlang.org/show_bug.cgi?id=11595
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from [email protected] --- A more minimal test case: --- module main; import core.thread; //Broken: pragma(msg, __traits(allMembers, core)); //Seems to work: pragma(msg, __traits(allMembers, core.thread)); void main() {} --- The interesting thing is that the issue only seems to surface for root packages. In the backend source, when working with __traits (see traits.d), most package symbols have been resolved to Package objects, but root package names haven't been fully resolved; they're still Import objects. That's probably related to this issue. --
