Skip to content

Fix owner comparison when sorting eligible implicits #10977

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
Jan 4, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jan 3, 2021

We used the wrong symbols to compare, which in effect meant that
we sorted eligible implicits without taking owner subtyping into
account. This way, we might consider candidates first that would then
later be pruned by another successful candidate in a subclass, so the
search tree would be larger.

Fixes #10964

We used the wrong symbols to compare, which in effect meant that
we sorted eligible implicits wuthout taking owner subtyping into
account. This way, we might consider canidates first that would then
later be pruned by another sccesful candidate in a subclass, so the
search tree would be larger.

Fixes scala#10964
@odersky odersky requested a review from griggt January 3, 2021 11:42
@griggt griggt assigned odersky and unassigned griggt Jan 4, 2021
@odersky odersky merged commit 5fa62fa into scala:master Jan 4, 2021
@odersky odersky deleted the fix-#10964 branch January 4, 2021 09:18
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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.

Unminimized OOM
3 participants