Skip to content

Added elimLocals miniphase #159

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
Aug 3, 2014

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Aug 3, 2014

This phase drops the Local flag from all private[this] and protected[this] members.
This allows subsequent code motions where code is moved from a class to its
companion object. It invalidates variance checking, which is consequently disabled
when retyping.

This phase drops the Local flag from all private[this] and protected[this] members.
This allows subsequent code motions where code is moved from a class to its
companion object. It invalidates variance checking, which is consequently disabled
when retyping.
@odersky
Copy link
Contributor Author

odersky commented Aug 3, 2014

Review by @DarkDimius

@DarkDimius
Copy link
Contributor

LGTM

DarkDimius added a commit that referenced this pull request Aug 3, 2014
@DarkDimius DarkDimius merged commit 0c97f08 into scala:master Aug 3, 2014
@allanrenucci allanrenucci deleted the transform/elimLocals branch December 14, 2017 19:25
WojciechMazur pushed a commit to WojciechMazur/dotty that referenced this pull request Mar 19, 2025
Backport "Fix presentation compiler testcases" to 3.3 LTS
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