https://issues.dlang.org/show_bug.cgi?id=23855

--- Comment #3 from FeepingCreature <[email protected]> ---
Okay, I can't work this out on my own, but it's *something* about `static
foreach`: `alias udas = __traits(getAttributes, overloads[0]);` works. Somehow
the loop variable in `static foreach` ends up in the original module symbol,
`overnext` included: it's supposed to be a `FuncAliasDeclaration` from
`getOverloads`, but even though it creates the tuple right, somewhere in the
`static foreach` code, DMD gets rid of it again.

--

Reply via email to