Skip to content

SILGen: Borrow any move-only or borrow-expr'ed accessor base. #71908

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 1 commit into from
Feb 27, 2024

Conversation

jckarter
Copy link
Contributor

Following up from #71795, we must borrow the base of any non-copyable borrowing/nonmutating accessor, and we want to borrow the base of any accessor appearing in a borrow expr. Fixes #71606.

Following up from swiftlang#71795, we must borrow the base of any non-copyable
`borrowing`/`nonmutating` accessor, and we want to borrow the base
of any accessor appearing in a `borrow` expr. Fixes swiftlang#71606.
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter jckarter merged commit d5884a2 into swiftlang:main Feb 27, 2024
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.

Assertion `address.isLValue() && "Must have a physical copyable lvalue decl ref that " "evaluates to an address"' failed
1 participant