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

Fix array access implicit conversion and add error diagnostics for out-of-bounds array accesses #38

Merged
merged 4 commits into from
Jun 12, 2024

Conversation

taalexander
Copy link
Collaborator

This PR fixes an issue with using arrays as inputs to gates and provides an accompanying test. It also adds an error diagnostic to check for out-of-bounds array accesses.

@taalexander taalexander requested a review from a team as a code owner June 12, 2024 14:07
Copy link
Contributor

@bcdonovan bcdonovan left a comment

Choose a reason for hiding this comment

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

LGTM

@taalexander taalexander merged commit ec7731b into openqasm:main Jun 12, 2024
2 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