Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "has issued errors" method on a compilation (#1091)
`Compilation::getSemanticDiagnostics()` caches its result and is meant to be called on a finished compilation for which no more diagnostics will be issued. For use cases where user code using slang as a library wants to issue its own diagnostics, but doesn't want to deal with an AST which failed elaboration, provide a `hasIssuedErrors()` method to find out early if the elaboration failed.
- Loading branch information