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

Fix regression #17245: Overloaded methods with ClassTags #18286

Merged
merged 1 commit into from
Jul 27, 2023

Commits on Jul 26, 2023

  1. Fix regression with Overloaded methods returning Functions

    Before the regression, FunctionOf unapply would not try dealiasing,
    meaning that an aliased function type would be handled by a general
    case.
    To fix that, instead of handling Function types separately when
    filtering overloaded methods in `resolveOverloaded1`, we allow to
    fallback to the general case if the previous one returns nothing.
    Along with fixing the regression, this also improves other cases,
    one of which was added to the test.
    
    Readd a separate FunctionOf case, but with a fallback
    jchyb committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    101ce3a View commit details
    Browse the repository at this point in the history