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.
Summary
Without the change made in this PR, a list of diagnostics with all kinds of
diagLevel
s are added to categoryOpenQASM3ParseFailure
. This PR changes this behavior to just havingError
andFatal
severitydiagLevel
in theOpenQASM3ParseFailure
category.