Skip to content

DestroyHoisting: visit begin_borrows which don't have an end_borrow in dead-end blocks. #79130

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

Conversation

eeckstein
Copy link
Contributor

This makes sure that incomplete lifetimes are handled correctly.

Fixes an ownership violation.
rdar://144065326

…n dead-end blocks.

This makes sure that incomplete lifetimes are handled correctly.

Fixes an ownership violation.
rdar://144065326
@eeckstein
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor

Thanks!

@eeckstein
Copy link
Contributor Author

@swift-ci smoke test macos

@eeckstein eeckstein merged commit eb48925 into swiftlang:main Feb 5, 2025
4 of 5 checks passed
@eeckstein eeckstein deleted the fix-destroy-hoisting branch February 5, 2025 06:11
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