Skip to content

Backport "Better types for class type parameters" #16046

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

Merged
merged 2 commits into from
Sep 15, 2022

Conversation

Kordyjan
Copy link
Contributor

Backports #15951

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
@Kordyjan Kordyjan added this to the 3.2.1 backports milestone Sep 15, 2022
@Kordyjan Kordyjan changed the base branch from main to release-3.2.1 September 15, 2022 14:49
@Kordyjan Kordyjan mentioned this pull request Sep 15, 2022
16 tasks
@Kordyjan Kordyjan enabled auto-merge September 15, 2022 14:58
@Kordyjan Kordyjan merged commit 17e6a6a into scala:release-3.2.1 Sep 15, 2022
@Kordyjan Kordyjan deleted the backport-15951 branch September 15, 2022 17:02
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.

3 participants