Skip to content
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

Do not remove accessors to early #13484

Merged
merged 3 commits into from Sep 22, 2021
Merged

Conversation

nicolasstucki
Copy link
Contributor

Accessors that are added to packages were removed to early from accessedBy.
This resulted in a new symbol beeing entered for the same accessor.

Fixes #13476

Accessors that are added to packages were removed to early from `accessedBy`.
This resulted in a new symbol beeing entered for the same accessor.

Fixes scala#13476
Make sure that `AccessProxies.accessedBy` can be GCed.
@nicolasstucki nicolasstucki force-pushed the fix-#13476 branch 2 times, most recently from f5da9fc to 0853b3d Compare September 9, 2021 13:10
Make sure that `AccessProxies.accessedBy` can be GCed.
Copy link
Contributor

@odersky odersky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Pushing things into the context is a good technique to avoid memory leaks.

@odersky odersky merged commit 2784596 into scala:master Sep 22, 2021
@odersky odersky deleted the fix-#13476 branch September 22, 2021 09:09
@Kordyjan Kordyjan added this to the 3.1.1 milestone Aug 2, 2023
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.

false double definition error of exported transparent inline
3 participants