Skip to content

[5.9] Fix OSSA RAUW utility's insertion point #64617

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 2 commits into from
Mar 30, 2023

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Mar 24, 2023

This change ensures OSSA RAUW consistently inserts borrows before the old value. Before this it inserted new borrows before the old value only when it was in the same block as new value.
Since we can expect the users of OSSA RAUW have made sure that newValue will dominate oldValue, update the utility to always insert before the old value.

Cherry-pick of #64554

@meg-gupta meg-gupta requested a review from a team as a code owner March 24, 2023 20:44
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta assigned atrick and unassigned atrick Mar 24, 2023
@meg-gupta meg-gupta requested a review from tbkka March 27, 2023 17:28
@meg-gupta meg-gupta merged commit 461fe0a into swiftlang:release/5.9 Mar 30, 2023
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants