Skip to content

Add explanations to discussion of private[this] in docs #13822

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 1 commit into from
Oct 27, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Oct 26, 2021

Fixes #13770

Or more precisely: it explains the issue with reflection which has been observed
in several projects. The issue with WeakReferences is so tricky/underspecified
that I did not find a reasonable explanation. I fear people would be confused
rather than enlightened.

Fixes scala#13770

Or more precisely: it explains the issue with reflection which has been observed
in several projects. The issue with WeakReferences is so tricky/underspecified
that I did not find a reasonable explanation. I fear people would be confused
rather than enlightened.
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.

private val referred to by a WeakReference should still create a field
2 participants