digitalmars.D.bugs - [Issue 23991] New: [REG2.087.0] Private top-level overloads are
- d-bugmail puremagic.com (27/27) Jun 14 2023 https://issues.dlang.org/show_bug.cgi?id=23991
https://issues.dlang.org/show_bug.cgi?id=23991 Issue ID: 23991 Summary: [REG2.087.0] Private top-level overloads are callable if any overload is public Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: accepts-invalid Severity: regression Priority: P3 Component: dmd Assignee: nobody puremagic.com Reporter: dlang-bugzilla thecybershadow.net ///////// p.d ///////// private void fun() {} public void fun(int) {} //////// test.d /////// import p; void main() { fun(); } /////////////////////// Introduced in https://github.com/dlang/dmd/pull/9636 --
Jun 14 2023