[Issue 18106] @nogc: yields a wrong error where @nogc on each definition does not

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 5 22:40:52 UTC 2019


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

timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch

--- Comment #6 from timon.gehr at gmx.ch ---
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

--


More information about the Digitalmars-d-bugs mailing list