Skip to content

[6.0][Sema/ClangImporter] Improvements to witness matching #72679

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

xedin
Copy link
Contributor

@xedin xedin commented Mar 28, 2024

Cherry-pick of #72277

  • Explanation:

Improves handling of requirement-to-witness matching for ObjC members by stripping concurrency annotations only when absolutely necessary.

xedin added 8 commits March 28, 2024 13:28
…t declaration

Locators used to support only expressions which is no longer the case.

(cherry picked from commit 31e385f)
…with ObjC requirements

Since importer ignored `swift_attr` that appeared in a type context
until recently we need to maintain status quo with concurrency stripping
from ObjC requirements in modes that don't have full concurrency
checking enabled.

(cherry picked from commit c06a1a8)
… down to a class

`any C` where `C` is a class is not a well-formed type.

(cherry picked from commit 10541ef)
@xedin xedin requested a review from hborla March 28, 2024 20:31
@xedin xedin requested a review from a team as a code owner March 28, 2024 20:31
@xedin
Copy link
Contributor Author

xedin commented Mar 28, 2024

@swift-ci please test

@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Mar 28, 2024
@xedin
Copy link
Contributor Author

xedin commented Mar 29, 2024

@swift-ci please test Windows platform

@xedin xedin merged commit 2de86dc into swiftlang:release/6.0 Mar 29, 2024
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 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants