Skip to content

[IRGen] Add direct error return support for async functions #75221

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
Jul 14, 2024

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Jul 12, 2024

rdar://129359370

Second part of direct error support. This implements direct errors for async functions. Instead of always returning typed errors indirectly, we are returning them directly when possible.

@drexin drexin requested a review from rjmccall as a code owner July 12, 2024 23:39
@drexin
Copy link
Contributor Author

drexin commented Jul 12, 2024

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Jul 13, 2024

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Jul 13, 2024

@swift-ci smoke test

@drexin
Copy link
Contributor Author

drexin commented Jul 13, 2024

@swift-ci clean smoke test macos

rdar://129359370

Second part of direct error support. This implements direct errors for async functions. Instead of always returning typed errors indirectly, we are returning them directly when possible.
@drexin
Copy link
Contributor Author

drexin commented Jul 14, 2024

@swift-ci smoke test

@drexin drexin merged commit c11b301 into swiftlang:main Jul 14, 2024
3 checks passed
@drexin drexin deleted the wip-129359370 branch July 14, 2024 04:00
aschwaighofer added a commit to aschwaighofer/swift that referenced this pull request Sep 12, 2024
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