Skip to content

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