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 #19445: Remove too-strict test in match type matching. #19511

Merged
merged 1 commit into from
Jan 23, 2024

Commits on Jan 22, 2024

  1. Fix scala#19445: Remove too-strict test in match type matching.

    Previously, for a `BaseTypeTest`, we explicitly checked the prefix
    of the type constructor for `=:=`. This is however too strict, as
    shown by scala#19445. We remove the test entirely, as the correct
    subprefixing test is already part of the overall
    `scrut <:< instantiatedPat` done at the end.
    sjrd committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1871cf6 View commit details
    Browse the repository at this point in the history