Skip to content

Determine concurrency diagnostic behavior based on conformance context. #41078

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

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented Jan 28, 2022

Explanation: When determining whether to warn, error, or be silent about concurrency-related issues detected between a protocol requirement and its witness, decide based on the context of the conformance rather than based on the context of the witness.
Scope: Manifests as extraneous warnings in SwiftUI apps that introduce conformances to UIViewRepresentable.
Radar/SR Issue: rdar://88205585
Risk: Low.
Testing: PR testing and CI .
Reviewed By: John McCall
Original PR: #41076

When determining whether to warn, error, or be silent about
concurrency-related issues detected between a protocol requirement and
its witness, decide based on the context of the conformance rather
than based on the context of the witness. Fixes rdar://88205585.
@DougGregor DougGregor requested a review from a team as a code owner January 28, 2022 23:36
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please nominate

@DougGregor DougGregor merged commit cbcaff4 into swiftlang:release/5.6 Jan 31, 2022
@DougGregor DougGregor deleted the concurrency-diag-conformance-context-5.6 branch January 31, 2022 21:27
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.

2 participants