Skip to content

[MoveOnly] Fix consumption of opened existentials. #81015

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 4 commits into from
Apr 23, 2025

Conversation

nate-chandler
Copy link
Contributor

Enable walking into TypeOffsetSizePairs from an existential into an archetype. And set the access kind on open_existential_addr instructions which are the sources of rewritten copy_addrs to mutable.

rdar://141279635

Before adding a new parameter to the function being called.
Enable walking into `TypeOffsetSizePair`s from an existential into an
archetype.  And set the access kind on `open_existential_addr`
instructions which are the sources of rewritten `copy_addr`s to mutable.

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

@swift-ci please test

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.

LGTM

@nate-chandler nate-chandler marked this pull request as ready for review April 23, 2025 20:26
@nate-chandler nate-chandler merged commit 3e35fa4 into swiftlang:main Apr 23, 2025
5 checks passed
@nate-chandler nate-chandler deleted the rdar141279635 branch April 23, 2025 20:26
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