Skip to content

SILGen: Emit the base of a read coroutine as a borrow in a yield/borrow/noncopyable context. #71795

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 22, 2024

Conversation

jckarter
Copy link
Contributor

No description provided.

@jckarter jckarter requested a review from kavon as a code owner February 21, 2024 22:38
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter jckarter merged commit 7f9b184 into swiftlang:main Feb 22, 2024
jckarter added a commit to jckarter/swift that referenced this pull request Feb 27, 2024
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.
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