[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 Dec 20 16:31:09 UTC 2017


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

--- Comment #5 from Eyal <eyal at weka.io> ---
It makes no sense at all for "@nogc" to apply to statements within a statement
block of a function.

It would only make sense if it applied recursively to *all* nested scopes.

--


More information about the Digitalmars-d-bugs mailing list