Skip to content
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

Take type bounds into account for overloading resolution #11080

Merged
merged 1 commit into from Jan 18, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jan 12, 2021

When resolving overloaded polymorphic variants with explicit type
arguments, discard those variants where the given argument does not
fit the type parameter bounds.

Fixes #11015

When resolving overloaded polymorphic variants with explicit type
arguments, discard those variants where the given argument does not
fit the type parameter bounds.

Fixes scala#11015
Copy link
Contributor

@abgruszecki abgruszecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@abgruszecki abgruszecki merged commit dd74065 into scala:master Jan 18, 2021
@abgruszecki abgruszecki deleted the fix-#11015 branch January 18, 2021 17:02
@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.

Overload resolution doesn't use provided type parameters
3 participants