Skip to content

ClosureLifetimeFixup : Fix bug in lifetime extension of non escaping closure #59160

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
May 31, 2022

Conversation

meg-gupta
Copy link
Contributor

No description provided.

@meg-gupta meg-gupta requested a review from atrick May 30, 2022 18:16
@meg-gupta
Copy link
Contributor Author

@swift-ci test and merge

@meg-gupta
Copy link
Contributor Author

@swift-ci test

Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

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

Awesome! Very nice. Thank you.

Maybe @aschwaighofer will want to take a lot too.

Do you think there should be a SIL test to make it clear what the transformation actually does? Or maybe use the option to dump the OSSA module? The final non-OSSA SIL is a little confusing.

@meg-gupta
Copy link
Contributor Author

@swift-ci smoke test

@meg-gupta
Copy link
Contributor Author

meg-gupta commented May 31, 2022

@atrick Thanks. Added a SIL test

@meg-gupta
Copy link
Contributor Author

cc @eeckstein @nate-chandler Here's the fix for the closure lifetime issue

@meg-gupta meg-gupta merged commit 49b489b into swiftlang:main May 31, 2022
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