[Issue 13421] disallow __gshared members without static

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Sep 4 04:32:18 PDT 2014


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

Ketmar Dark <ketmar at ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar at ketmar.no-ip.org

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
after some thinking i started to believe that we should make exactly the
opposite: warn about 'static __gshared' members. '__gshared' implies "one
instance", so 'static __gshared' is excessive and meaningless.

--


More information about the Digitalmars-d-bugs mailing list