Skip to content

Backport "Consider setter of effectively private var" to 3.3 LTS #520

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

Closed
wants to merge 2 commits into from

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Jul 26, 2025

Backports scala#23211 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

som-snytt and others added 2 commits July 26, 2025 18:01
Anonymous classes get a setter for a var member:
as usual, don't warn about the setter but only about the var getter.

Additionally, check whether the setter is referenced before claiming
that the var is unset.

Fixes scala#23200
Anonymous classes get a setter for a var member:
as usual, don't warn about the setter but only about the var getter. 

Additionally, check whether the setter is referenced before claiming
that the var is unset.

Fixes scala#23200
[Cherry-picked 48e173a][modified]
@tgodzik tgodzik closed this Jul 28, 2025
@tgodzik tgodzik deleted the backport-lts-3.3-23211 branch July 28, 2025 14:38
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.

2 participants