[Issue 18698] static foreach + __traits(allMembers, moduleName)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Apr 1 13:05:01 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18698
--- Comment #8 from Manu <turkeyman at gmail.com> ---
Non-static foreach doesn't seem to be the same. There are new errors with old
usage of foreach instructing to use static foreach instead.
And it definitely worked at top level. I was using it to generate top level
binding stub functions almost as long as I've been using D.
It would be inside a mixin template mixed in at top level, that's all.
--
More information about the Digitalmars-d-bugs
mailing list