Skip to content

[6.2] Add support for inout lifetime dependencies #80645

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

Conversation

meg-gupta
Copy link
Contributor

@meg-gupta meg-gupta commented Apr 8, 2025

Add support for spelling lifetime dependencies on mutable sources as @lifetime(&arg). Previously this was spelled as @lifetime(borrow arg) and caused some confusion to developers. This is purely a syntactic change and does not change how these dependencies are represented in SIL.

rdar://146310571

Cherry pick from #80452, #80534 and #80618

@meg-gupta meg-gupta requested a review from atrick April 8, 2025 18:07
@meg-gupta meg-gupta requested a review from a team as a code owner April 8, 2025 18:07
@meg-gupta meg-gupta requested a review from tbkka April 8, 2025 18:08
@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta
Copy link
Contributor Author

@swift-ci test

@meg-gupta meg-gupta merged commit b3881cd into swiftlang:release/6.2 Apr 10, 2025
5 checks passed
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