Skip to content

Allow async import of Objective-C methods with non-prototyped completion handler blocks #38774

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

We allow import of non-prototyped blocks such as void (^)() and treat
them the same way as void (^)(void), so do the same with async imports.

Fixes rdar://81239857.

…etion handler blocks.

We allow import of non-prototyped blocks such as `void (^)()` and treat
them the same way as `void (^)(void)`, so do the same with `async` imports.

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

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit a7586fb into swiftlang:main Aug 6, 2021
@DougGregor DougGregor deleted the objc-import-block-without-prototype branch August 6, 2021 04:31
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