Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@bamarsha
Copy link
Contributor

@bamarsha bamarsha commented Jan 5, 2021

This PR allows using and borrowing statements to be followed by either a block { ... } or a semicolon ;. If they're followed by a semicolon, the qubits are bound for the remainder of the current scope. See #795.

@bamarsha bamarsha marked this pull request as ready for review January 5, 2021 01:17
Copy link
Contributor

@cesarzc cesarzc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@bamarsha bamarsha merged commit 142dc50 into feature/inline-qubit-scope Jan 11, 2021
@bamarsha bamarsha deleted the samarsha/using-without-block branch January 11, 2021 19:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants