Skip to content

[ASTGen] Handle reasync and rethrows #79441

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
Feb 18, 2025

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Feb 17, 2025

Introduce generate(functionSignature:for:)

@rintaro
Copy link
Member Author

rintaro commented Feb 17, 2025

@swift-ci Please smoke test

@rintaro rintaro force-pushed the astgen-reasync-rethrows branch from 56255f0 to 00999cb Compare February 18, 2025 06:05
Introduce generate(functionSignature:for:)
@rintaro rintaro force-pushed the astgen-reasync-rethrows branch from 00999cb to f172725 Compare February 18, 2025 06:06
func testRethrows() {
rethrowingFn { _ = 1 }

// FIXME: Assertion failed: (isAsync()), function getAsyncContext, file GenCall.cpp, line 215.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This FIXME applies to non-ASTGen as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rintaro
Copy link
Member Author

rintaro commented Feb 18, 2025

@swift-ci Please smoke test

@rintaro rintaro enabled auto-merge February 18, 2025 06:07
@rintaro rintaro merged commit 9ffdbbf into swiftlang:main Feb 18, 2025
3 checks passed
@slavapestov
Copy link
Contributor

We should just remove ‘reasync’ entirely, it’s dead code.

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