```d
alias thisMod = __traits(parent, {});
void main()
{
static foreach(mem; __traits(allMembers, thisMod))
{{
alias modMem = __traits(getMember, thisMod, mem);
}}
}
```
This is the minimal program for this error. Tested with both DMD and LDC
Comment #1 by robert.schadek — 2024-12-13T19:31:46Z