Skip to content

MoveOnlyChecker: Treat trivial stores as reinitializations rather than initializations. #80839

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

Conversation

jckarter
Copy link
Contributor

A trivial store is allowed to occur on an existing live value, and should not trigger an attempt to destroy the original value completely. Fixes rdar://147791932.

…n initializations.

A trivial store is allowed to occur on an existing live value, and should not
trigger an attempt to destroy the original value completely. Fixes rdar://147791932.
@jckarter jckarter requested a review from kavon as a code owner April 15, 2025 20:50
@jckarter
Copy link
Contributor Author

@swift-ci Please test

1 similar comment
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@grynspan
Copy link
Contributor

@swift-ci test Linux platform

@jckarter
Copy link
Contributor Author

@swift-ci Please test Windows

@jckarter jckarter merged commit 3860023 into swiftlang:main Apr 17, 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.

None yet

2 participants