Skip to content

[borrow-expr] Add simple support for borrow-expr and wire it up to SILGenApply #62742

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

Conversation

gottesmm
Copy link
Contributor

Just an initial commit.

@gottesmm
Copy link
Contributor Author

@gottesmm gottesmm changed the title [borrow-expr] Add simple support for borrow-expr but don't wire it up to anything. [borrow-expr] Add simple support for borrow-expr and wire it up to SILGenApply Dec 22, 2022
@gottesmm
Copy link
Contributor Author

I decided to do a little work and get this to just work for vars.

@gottesmm gottesmm force-pushed the pr-947919228bebf49e02eae5aedb1efee8038c2b4b branch from 76ce1dc to 680d3ac Compare December 22, 2022 21:03
@gottesmm
Copy link
Contributor Author

@gottesmm gottesmm force-pushed the pr-947919228bebf49e02eae5aedb1efee8038c2b4b branch from 680d3ac to 94f1391 Compare December 22, 2022 21:04
@gottesmm
Copy link
Contributor Author

@gottesmm
Copy link
Contributor Author

@gottesmm
Copy link
Contributor Author

I probably need to make this more restrictive in the type checker... but this at least shows that we have the capability to do this in SILGenApply

@gottesmm
Copy link
Contributor Author

gottesmm commented Jan 3, 2023

@gottesmm
Copy link
Contributor Author

gottesmm commented Jan 3, 2023

swiftlang/swift-syntax#1166

@swift-ci test macOS platform

@gottesmm gottesmm merged commit b95fe48 into swiftlang:main Jan 3, 2023
@gottesmm gottesmm deleted the pr-947919228bebf49e02eae5aedb1efee8038c2b4b branch January 3, 2023 16:04
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