Skip to content
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

[reference-bindings] Change the parser to refer to 'VariableBindings' instead of 'letOrVar' in preparation for adding inout and borrow bindings. #1354

Merged

Conversation

gottesmm
Copy link
Contributor

No description provided.

… instead of 'letOrVar' in preparation for adding inout and borrow bindings.
@gottesmm gottesmm force-pushed the pr-c75239cb2dcbb5f819802cd1f99342b286690e89 branch from 008fb99 to 3ad4eb6 Compare February 21, 2023 21:36
@gottesmm
Copy link
Contributor Author

@swift-ci test

@gottesmm
Copy link
Contributor Author

@swift-ci test macOS platform

@ahoppen
Copy link
Member

ahoppen commented Feb 22, 2023

What will the inout and borrow binding syntax be? Will you be able to declare variables like the following without any let or var keyword?

borrow x = somethingElse?

@gottesmm
Copy link
Contributor Author

yes.

@gottesmm
Copy link
Contributor Author

swiftlang/swift#63848

@swift-ci test

@gottesmm
Copy link
Contributor Author

swiftlang/swift#63848

@swift-ci test

@gottesmm
Copy link
Contributor Author

swiftlang/swift#63848

@swift-ci test macOS platform

@gottesmm
Copy link
Contributor Author

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