Skip to content

Fix #7840: Don't instantiateSelected to Nothing #7845

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
Dec 25, 2019

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Dec 24, 2019

When instantiating type variables ahead of an implicit search, avoid instantiating
them to Nothing.

These are really two changes:

  • Assert avoidBottom in instantiateSelected
  • Change FullyDefinedAccululator logic so that avoidBottom overrides minimizeAll.

When instantiating type variables ahead of an implicit search, avoid instantiating
them to Nothing.

These are really two changes:

 - Assert `avoidBottom` in `instantiateSelected`
 - Change FullyDefinedAccululator logic so that `avoidBottom` overrides `minimizeAll`.
@odersky odersky force-pushed the fix-#7840 branch 3 times, most recently from 9d373b3 to 80ca4c9 Compare December 24, 2019 15:29
@odersky odersky closed this Dec 25, 2019
@odersky odersky reopened this Dec 25, 2019
@odersky odersky merged commit d13efef into scala:master Dec 25, 2019
@odersky odersky deleted the fix-#7840 branch December 25, 2019 09:46
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