Skip to content

Fix availability inference for unownedExecutor. #39445

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

Conversation

DougGregor
Copy link
Member

Rather that copying availability directly from UnownedExecutorRef, we need
to properly infer availability from both it and the enclosing context.
Otherwise, the synthesized unownedExecutor will have an availability that
could conflict with our enclosing declaration.

Fixes rdar://83246377.

Rather that copying availability directly from `UnownedExecutorRef`, we need
to properly infer availability from both it and the enclosing context.
Otherwise, the synthesized `unownedExecutor` will have an availability that
could conflict with our enclosing declaration.

Fixes rdar://83246377.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@DougGregor DougGregor requested a review from xymus September 24, 2021 17:38
@swift-ci swift-ci merged commit 48c5c83 into swiftlang:main Sep 24, 2021
@DougGregor DougGregor deleted the availability-inference-unowned-executor branch September 24, 2021 20:20
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.

3 participants