On Sunday, 18 June 2023 at 09:48:40 UTC, IchorDev wrote: > Does anyone understand why this happens? > Is there any way to subvert this behaviour, or is it actually a > bug? Yes, see also my bug report, https://issues.dlang.org/show_bug.cgi?id=20008 "__traits(allMembers) of packages is complete nonsense".