[Issue 16453] Missing @nogc annotations
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Dec 27 05:05:56 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16453
greenify <greeenify at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greeenify at gmail.com
--- Comment #1 from greenify <greeenify at gmail.com> ---
Hmm due to Thread being a class the compiler thinks it can't be @nogc, so as a
workaround sth. like `assumeNogc` could be it used. See e.g:
https://github.com/nordlow/phobos-next/blob/master/src/dbgio.d#L13
--
More information about the Digitalmars-d-bugs
mailing list