Skip to content

Fix #6238: Don't wild-approx higher kinded bounds with wildcards #6250

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

Closed
wants to merge 1 commit into from

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 6, 2019

Replacing a higher-kinded bound by a wildcard changes its kind.
We need to keep the bound intact in this case but recursively
approximate its contents.

Replacing a higher-kinded bound by a wildcard changes its kind.
We need to keep the bound intact in this case but recursively
approximate its contents.
@odersky
Copy link
Contributor Author

odersky commented Apr 6, 2019

This PR is an alternative to #6240. It uses the same test case.

@odersky
Copy link
Contributor Author

odersky commented Apr 6, 2019

The tests show that this approach does not work.

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.

1 participant