openqasm / qe-compiler

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3
Other
38 stars 12 forks source link

Fix for when to add `OpenQASM3ParseFailure` to diagnostic #296

Closed SooluThomas closed 3 months ago

SooluThomas commented 3 months ago

Summary

Without the change made in this PR, a list of diagnostics with all kinds of diagLevels are added to category OpenQASM3ParseFailure. This PR changes this behavior to just having Error and Fatal severity diagLevel in the OpenQASM3ParseFailure category.

SooluThomas commented 3 months ago

yes, will do after merge 🎉