Skip to content

[coro async] Allow a coro.suspend.async to specify which argument is the context argument #2553

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

aschwaighofer
Copy link

This is https://reviews.llvm.org/D97333

Also:

  • Transfer swiftasync attribute according to suspend.async spec

@aschwaighofer
Copy link
Author

@swift-ci Please test

…rgument

Before we used the same argument as the entry point. The resume partial
function might want to use a different ABI for its context argument.
@aschwaighofer aschwaighofer force-pushed the coro_suspend_async_async_context_index branch from 19008e3 to cc07366 Compare February 24, 2021 20:03
@aschwaighofer
Copy link
Author

@swift-ci Please test

@shahmishal shahmishal merged commit 9fe31d5 into swiftlang:apple/stable/20210107 Mar 3, 2021
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