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

Restructure error handling for semantics #160

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheGupta2012
Copy link
Collaborator

Summary of changes

Fixes #149

  • We want to have a better way to emit errors to the user when doing semantic analysis. Currently we stop processing after an error is encountered, which may not be the best strategy for error discovery
  • Tasks -
    • Define warning and fatal errors
    • Strategy for warnings
    • Strategy for fatal errors
    • Error threshold
    • Tests

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 92.42424% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
qbraid_qir/qasm3/visitor.py 91.11% 4 Missing ⚠️
qbraid_qir/qasm3/exceptions.py 92.85% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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.

Improve error reporting for openqasm semantics
1 participant