Skip to content

[MoveOnly] Fix consume of addr with mutated field. #81541

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
May 16, 2025

Conversation

nate-chandler
Copy link
Contributor

Don't fail out of use visitation when encountering an apply which uses a field of the value as an inout parameter.

rdar://139666145

Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Then see if we have a inout_aliasable full apply site use. In that case, we

slightly stale comment.

Looks good to me at first glance.

Don't fail out of use visitation when encountering an apply which uses a
field of the value as an inout parameter.

rdar://139666145
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test source compatibility

@nate-chandler nate-chandler marked this pull request as ready for review May 16, 2025 13:55
@nate-chandler nate-chandler merged commit f4a2e46 into swiftlang:main May 16, 2025
5 of 7 checks passed
@nate-chandler nate-chandler deleted the rdar139666145 branch May 16, 2025 13:56
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