digitalmars.D.bugs - [Issue 15283] New: `protected` doesn't work for static members
- via Digitalmars-d-bugs (22/22) Nov 04 2015 https://issues.dlang.org/show_bug.cgi?id=15283
https://issues.dlang.org/show_bug.cgi?id=15283 Issue ID: 15283 Summary: `protected` doesn't work for static members Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: public dicebot.lv ```b.d class B { protected static int x = 42; } ``` ```a.d import b; class A { static int x = super.x; } ``` Error: class b.B member x is not accessible --
Nov 04 2015