https://issues.dlang.org/show_bug.cgi?id=15785
Issue ID: 15785 Summary: [DMD HEAD] Spurious warning when calling protected super Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: thecybersha...@gmail.com ////////// a.d ////////// class A { protected void f() {} } ////////// b.d ////////// import a; class B : A { override void f() { super.f(); } } ///////////////////////// DMD now complains: b.d(7): Deprecation: a.A.f is not visible from module b Of course this makes no sense - you can override a symbol but not call it? Introduced in https://github.com/D-Programming-Language/dmd/pull/5472 --