Skip to content

[borrowing/consuming] Be sure to visit boxes with trivial @moveonly types. #66402

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
Jun 7, 2023

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Jun 7, 2023

This was not caught on main since I wasn't the tests with -sil-verify-all
enabled... but it seems that it was caught by the verifier on 5.9. I have since
enabled sil-verify-all by default on both of those tests
(noimplicitcopy_consuming_parameter.swift and
noimplicitcopy_borrowing_parameter.swift).

rdar://110364874

gottesmm added 2 commits June 6, 2023 23:50
…plicitcopy_borrowing_parameters.swift.

I found on 5.9 that this caught a small issue in MoveOnlyWrappedTypeLowering. I
am going to fix that issue in the next commit.
…ypes.

This was not caught on main since I wasn't the tests with -sil-verify-all
enabled... but it seems that it was caught by the verifier on 5.9. I have since
enabled sil-verify-all by default on both of those tests
(noimplicitcopy_consuming_parameter.swift and
noimplicitcopy_borrowing_parameter.swift).

rdar://110364874
@gottesmm
Copy link
Contributor Author

gottesmm commented Jun 7, 2023

@swift-ci smoke test

@gottesmm gottesmm merged commit 97e6b56 into swiftlang:main Jun 7, 2023
@gottesmm gottesmm deleted the main-rdar110364874 branch June 7, 2023 18:42
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