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

Detect case where two alternatives are the same after widening ExprTypes #18787

Merged
merged 4 commits into from
Oct 30, 2023

Commits on Oct 29, 2023

  1. Detect case where two alternatives are the same after widening ExprTypes

    In implicit or extension method search we might get two alternatives that are different
    but that point to the same singleton type after widening ExprTypes. In that case we can
    arbitrarily pick one of them instead of declaring an ambiguity.
    
    Fixes scala#18768
    odersky committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    c3692ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2314e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Add original test

    odersky committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    86f339a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c456947 View commit details
    Browse the repository at this point in the history