Skip to content

[5.9][CSDiagnostics] Teach diagnoseConflictingGenericArguments about holes #65522

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 1 commit into from
May 2, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 29, 2023

Cherry-pick of #65479


  • Explanation:

Only fully resolved substitutions are eligible to be considered as conflicting, if holes are involved in any position that automatically disqualifies a generic parameter. Any conflicting argument diagnostics with holes hide actual issues.

Resolves: rdar://108534555
Resolves: #63450

(cherry picked from commit 0b7aeed)

Only fully resolved substitutions are eligible to be considered
as conflicting, if holes are involved in any position that automatically
disqualifies a generic parameter.

Resolves: rdar://108534555
Resolves: swiftlang#63450
(cherry picked from commit 0b7aeed)
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.9 labels Apr 29, 2023
@xedin xedin requested a review from hborla April 29, 2023 00:23
@xedin xedin requested a review from a team as a code owner April 29, 2023 00:23
@xedin
Copy link
Contributor Author

xedin commented Apr 29, 2023

@swift-ci please test

@xedin xedin merged commit a2cfb6b into swiftlang:release/5.9 May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants