Skip to content

Count references correctly when dropping unused defs #5646

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
Jan 2, 2019

Conversation

milessabin
Copy link
Contributor

@milessabin milessabin commented Dec 19, 2018

When dropping unused definitions during inlining we must also count references to terms which are reachable via the types of RefTrees.

Fixes #5572.

When dropping unused definitions during inlining we must also count
references to terms which are reachable via the types of RefTrees.

Fixes scala#5572.
@milessabin milessabin merged commit 01078c4 into scala:master Jan 2, 2019
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