Skip to content

Added error for accessing private statics via derived classes #29389

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

Conversation

JoshuaKGoldberg
Copy link
Contributor

Fixes #8624

@weswigham I'm now less confident in asking for this change following your comments in #29381. Does the buggy behavior in #8624 make sense to you as something to disallow for privates?

@JoshuaKGoldberg
Copy link
Contributor Author

I'll just close this for now, since the issue is contentious.

@JoshuaKGoldberg JoshuaKGoldberg deleted the no-accessing-private-statics-via-derived-classes branch March 22, 2022 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant