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: [email protected]
          Reporter: [email protected]

```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

--

Reply via email to