Skip to content

Fix #6127: Drop followAlias #6294

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 4 commits into from
Apr 16, 2019
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 11, 2019

FollowAlias would return the bounds of a constraint type variable
instead of the variable itself. This meant that constrain result
in adapt would almost always return true for an expected type that
was a type variable instead of adding a constraint for it.

odersky added 2 commits April 11, 2019 23:17
FollowAlias would return the bounds of a constraint type variable
instead of the variable itself. This meant that constrain result
in adapt would almost always return true for an expected type that
was a type variable instead of adding a constraint for it.
It turns out we don't need it anymore. This is nice, since
`followAlias` did some fairly ad-hoc rewritings.
@odersky odersky changed the title Fix #6127: Fix followAlias Fix #6127: Drop followAlias Apr 12, 2019
@nicolasstucki nicolasstucki merged commit e7708c6 into scala:master Apr 16, 2019
@nicolasstucki nicolasstucki deleted the fix-#6127 branch April 16, 2019 06:05
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