Skip to content

Fix crash on implicit search involving higher-kinded types #9275

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
Jul 3, 2020

Conversation

smarter
Copy link
Member

@smarter smarter commented Jul 3, 2020

Previously, the test case crashed because it tried to create an
AndType of [X] =>> <?> and [X] =>> Any, but AndTypes can only
contain value types. Fixed by moving the AndType creation after having
recursively simplified the bounds with apply which always produces a
value type.

Previously, the test case crashed because it tried to create an
AndType of `[X] =>> <?>` and `[X] =>> Any`, but AndTypes can only
contain value types. Fixed by moving the AndType creation after having
recursively simplified the bounds with `apply` which always produces a
value type.
@smarter smarter requested a review from odersky July 3, 2020 12:39
@odersky odersky merged commit aa98621 into scala:master Jul 3, 2020
@odersky odersky deleted the fix-liftToAnchors branch July 3, 2020 13:49
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