https://issues.dlang.org/show_bug.cgi?id=18106
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from [email protected] --- This is a more general problem, applying to other function attributes as well as @nogc. The pull request below should be reverted as soon as this issue is fixed (it is an ugly hack fixing the problem only for the `static foreach` lowering and only for @nogc): https://github.com/dlang/dmd/pull/9922/commits/0a65ef981578e263a380f6df4668572dce0a52d6 --
