[Issue 17543] __gshared block modifier is ignored by static variables

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jun 24 09:30:49 PDT 2017


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

ZombineDev <petar.p.kirov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |petar.p.kirov at gmail.com

--- Comment #1 from ZombineDev <petar.p.kirov at gmail.com> ---
All attributes (e.g. public/private, pure/nothrow/@safe/@nogc, const/shared,
final, __gshared,  and so on) are applied only to the scope they are declared
in. As soon as you open a new scope they are effectively reset.

--


More information about the Digitalmars-d-bugs mailing list