diff --git a/src/core/dependencies/parser/CircomFilesParser.ts b/src/core/dependencies/parser/CircomFilesParser.ts index da28b29..074ee9a 100644 --- a/src/core/dependencies/parser/CircomFilesParser.ts +++ b/src/core/dependencies/parser/CircomFilesParser.ts @@ -62,7 +62,10 @@ export class CircomFilesParser { circomFilesVisitor.visit(context); const visitorErrors = circomFilesVisitor.errors.filter( - (error) => error.type === ErrorType.SignalDimensionResolution, + (error) => + error.type === ErrorType.InvalidPragmaVersion || + error.type === ErrorType.TemplateAlreadyUsed || + error.type === ErrorType.FailedToResolveMainComponentParameter, ); if (visitorErrors.length > 0) {