Skip to content

[Sema] Set ReturnStmt result even if type-checking fails #83096

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 17, 2025

Conversation

hamishknight
Copy link
Contributor

Make sure we set the updated expression since e.g pre-checking may have folded a top-level SequenceExpr that we need to remove from the AST.

Make sure we set the updated expression since e.g pre-checking may
have folded a top-level SequenceExpr that we need to remove from the
AST.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight enabled auto-merge July 16, 2025 18:14
@hamishknight hamishknight merged commit 213ad8a into swiftlang:main Jul 17, 2025
5 checks passed
@hamishknight hamishknight deleted the ret branch July 17, 2025 07:44
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