Skip to content

Fix/#266 lambda lift #275

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 2 commits into from
Dec 15, 2014
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 12, 2014

Fixed problems with methods getting too large a scope in LambdaLift. Review by @DarkDimius

Was: erasure of underlying type.
Now: erased typeRef of underlying class.

The differ if there is a self type. In this case,
a this type did erase to teh erasure of the self type, which
is wrong.
A lot of cases were missing before and caused failures
in the newly added test in TreeChecker#typedThis.

Now we assure that all this references appear inside
the referenced class.
DarkDimius added a commit that referenced this pull request Dec 15, 2014
@DarkDimius DarkDimius merged commit 8088ef2 into scala:master Dec 15, 2014
@allanrenucci allanrenucci deleted the fix/#266-lambdaLift branch December 14, 2017 19:21
tgodzik added a commit to tgodzik/scala3 that referenced this pull request Apr 29, 2025
Backport "Check exhaustivity of any case class" 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