Skip to content

[MoveChecker] Fix visitor return. #72360

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

nate-chandler
Copy link
Contributor

The visitor returns false to indicate an unknown/unhandled instruction. Previously it returned true as a fallback. This resulted in undesireable behavior: e.g., in the test case committed here, the try_apply was deleted.

The visitor returns false to indicate an unknown/unhandled instruction.
Previously it returned true as a fallback.  This resulted in aberrant
behavior: e.g., in the test case committed here, the try_apply was
deleted.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test macos platform

@nate-chandler nate-chandler marked this pull request as ready for review March 16, 2024 16:32
@nate-chandler nate-chandler requested a review from kavon as a code owner March 16, 2024 16:32
@nate-chandler nate-chandler merged commit 0547323 into swiftlang:main Mar 16, 2024
@nate-chandler nate-chandler deleted the noncopyable-bugs/20240315/1 branch March 16, 2024 16:32
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.

1 participant