Skip to content

Commit e456680

Browse files
committed
restricted bus usage
1 parent 7c03f7c commit e456680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/dependencies/parser/CircomTemplateInputsVisitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class CircomTemplateInputsVisitor extends CircomVisitor<void> {
145145
}
146146

147147
if (ctx.parentCtx!.parentCtx instanceof BusDeclarationContext) {
148-
return;
148+
throw new Error("INTERNAL ERROR: Buses are not supported");
149149
}
150150

151151
const signalDeclarationContext = ctx.parentCtx!.parentCtx as SignalDeclarationContext;

0 commit comments

Comments
 (0)