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

Better types for class type parameters #15951

Merged
merged 2 commits into from
Sep 9, 2022
Merged

Commits on Sep 2, 2022

  1. Better types for class type parameters

    If we see a class type parameter that has a wildcard argument, we now intersect
    the original info of the class type parameter and the argument. Previously we
    replaced the class type parameter info with the argument info, but that might lose
    information.
    
    Fixes scala#15940
    odersky committed Sep 2, 2022
    Configuration menu
    Copy the full SHA
    57f53d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d2cd7d View commit details
    Browse the repository at this point in the history