Skip to content

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

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

Merged
merged 2 commits into from
Jul 29, 2025

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Jul 28, 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 28, 2025 16:49
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]
Base automatically changed from backport-lts-3.3-23564 to lts-3.3 July 29, 2025 10:34
@tgodzik
Copy link
Author

tgodzik commented Jul 29, 2025

No regressions detected in the community build up to backport-lts-3.3-23587.

Reference

@tgodzik tgodzik merged commit 79bc179 into lts-3.3 Jul 29, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-23211 branch July 29, 2025 10:34
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