[Issue 23947] If a class overloads a method mixing private and public and the last overload is public, the method is always public.

2023-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23947 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #15319 "Make 'private function is not accessible' deprecation an error." was merged into master: - fd0ebb96e18d3fa54d53bfb71210da2ff9135463 by Mathis Beer: Make 'private function is not

[Issue 23947] If a class overloads a method mixing private and public and the last overload is public, the method is always public.

2023-06-14 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23947 Vladimir Panteleev changed: What|Removed |Added CC||dlang-bugzilla@thecybershad

[Issue 23947] If a class overloads a method mixing private and public and the last overload is public, the method is always public.

2023-06-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23947 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 23947] If a class overloads a method mixing private and public and the last overload is public, the method is always public.

2023-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23947 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot ---

[Issue 23947] If a class overloads a method mixing private and public and the last overload is public, the method is always public.

2023-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23947 --- Comment #1 from FeepingCreature --- Correction: more testing suggests that the accepts-invalid condition is "the method is private, but a method defined after it in the overload set is public". Doesn't have to be the last one. Consider: this

[Issue 23947] If a class overloads a method mixing private and public and the last overload is public, the method is always public.

2023-05-30 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23947 FeepingCreature changed: What|Removed |Added Keywords||accepts-invalid, industry --