digitalmars.D.bugs - [Issue 13421] New: disallow __gshared members without static
- via Digitalmars-d-bugs (20/20) Sep 04 2014 https://issues.dlang.org/show_bug.cgi?id=13421
https://issues.dlang.org/show_bug.cgi?id=13421 Issue ID: 13421 Summary: disallow __gshared members without static Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: schuetzm gmx.net CC: briancschott gmail.com It's surprising that __gshared members are implicitly static. Example: http://forum.dlang.org/thread/dkqsqyatiwbwyrojpfxb forum.dlang.org __gshared members without an explicit `static` should be deprecated with an appropriate message and later disallowed. (This would also be an excellent candidate for Brian's dfix.) --
Sep 04 2014