Skip to content

Disable retain and release sinking when rc root values are ~Copyable #82964

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

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Jul 10, 2025

Retain and release sinking can move retain and release operations from projections to root values. This is problematic if the root is non copyable. This PR avoids this.

Encountered this issue while looking at #82813

@meg-gupta meg-gupta requested a review from eeckstein as a code owner July 10, 2025 20:38
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta enabled auto-merge July 10, 2025 20:48
@meg-gupta meg-gupta merged commit c92ff91 into swiftlang:main Jul 11, 2025
5 checks passed
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