Skip to content

[5.8][MiscDiagnostics] OpaqueTypes: Handle unrelated #available conditions gracefully #62889

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
Jan 7, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jan 6, 2023

Cherry-pick of #62856


OpaqueUnderlyingTypeChecker should skip conditional availability
blocks if none of the conditions restrict the current target.

Resolves: rdar://103445432
(cherry picked from commit 3c03449)

… gracefully

`OpaqueUnderlyingTypeChecker` should skip conditional availability
blocks if none of the conditions restrict the current target.

Resolves: rdar://103445432
(cherry picked from commit 3c03449)
@xedin xedin added the r5.8 label Jan 6, 2023
@xedin xedin requested a review from hborla January 6, 2023 19:23
@xedin
Copy link
Contributor Author

xedin commented Jan 6, 2023

@swift-ci please test

@LucianoPAlmeida
Copy link
Contributor

@swift-ci Please test macOS platform

@xedin xedin merged commit faf0da9 into swiftlang:release/5.8 Jan 7, 2023
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.8 labels Jan 9, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants