-
-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make 'private function is not accessible' deprecation an error. #15319
Make 'private function is not accessible' deprecation an error. #15319
Conversation
|
Thanks for your pull request and interest in making D better, @FeepingCreature! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla references
Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + dmd#15319" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please also add a changelog entry?
f7f53d6
to
c40ee69
Compare
|
Changelog added. |
827c8eb
to
fd0ebb9
Compare
Affects issue 21275, 23947.
|
Ah, hm. Note that the changelog as written is a bit iffy: the deprecation period for 21275 started with 2.094, but my 23947 was merged a few days ago and absorbed 21275's deprecation message because the check for 23947 also covered 21275. I don't think 23947 deserves a deprecation of its own. Then again, I'm not sure why 21275 wasn't fixed immediately to begin with, particularly considering the trivial remedy of "just make whatever you couldn't access, public instead". If 23947 got its own deprecation period, I'd have to split them back into separate codepaths. |
|
All of these are aspects of the same bug so it makes sense to just turn the deprecation into an error for all. |
Affects issue 21275, 23947.
Followup to #15282