Skip to content

[Concurrency] Add support for 'async' closures. #33408

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
merged 1 commit into from
Aug 12, 2020

Conversation

DougGregor
Copy link
Member

Closurea can become 'async' in one of two ways:

  • They can be explicitly marked 'async' prior to the 'in'
  • They can be inferred as 'async' if they include 'await' in the body

Closurea can become 'async' in one of two ways:
* They can be explicitly marked 'async' prior to the 'in'
* They can be inferred as 'async' if they include 'await' in the body
@DougGregor
Copy link
Member Author

@swift-ci smoke test

swiftlang/swift-syntax#235

@DougGregor
Copy link
Member Author

swiftlang/swift-syntax#235

@swift-ci smoke test

@DougGregor DougGregor merged commit 17dd2d0 into swiftlang:master Aug 12, 2020
@DougGregor DougGregor deleted the async-closures branch August 12, 2020 00:22
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.

1 participant