Skip to content

Sema: Check conditional availability earlier in conformance checking [5.5] #38340

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

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Jul 9, 2021

We would only check conditional availability once we had committed
to a best witness. Instead, let's use this information to disambiguate
among multiple best witnesses, if we have them.

Access control and unconditional unavailability are still only
checked once the witness is chosen.

Fixes rdar://problem/77259046.

@slavapestov slavapestov requested a review from a team as a code owner July 9, 2021 22:11
We would only check conditional availability once we had committed
to a best witness. Instead, let's use this information to disambiguate
among multiple best witnesses, if we have them.

Access control and unconditional unavailability are still only
checked once the witness is chosen.

Fixes rdar://problem/77259046.
@slavapestov slavapestov force-pushed the conformance-checker-disambiguate-availability-5.5 branch from 3e3f86f to 9bba346 Compare July 9, 2021 22:12
@DougGregor
Copy link
Member

@swift-ci please test

@DougGregor DougGregor merged commit d6dd670 into swiftlang:release/5.5 Jul 10, 2021
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 labels Jan 8, 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.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants