Does the spec take priority over the compiler?
Stanislav Blinov
stanislav.blinov at gmail.com
Sun Dec 16 19:44:44 UTC 2018
On Sunday, 16 December 2018 at 18:16:58 UTC, Neia Neutuladh wrote:
> The specific question here is whether attributes like @nogc
> should propagate into nested declarations the same as @trusted
> (as the spec says) or not (as the compiler implements).
On that topic specifically, I say no, @nogc shouldn't propagate.
Unless we introduce a @nonogc. Because once you @nogc, you can't
opt out.
More information about the Digitalmars-d
mailing list