diff --git a/tools/push3-transpiler/src/transpiler.ts b/tools/push3-transpiler/src/transpiler.ts index 9924769..fe4a5bb 100644 --- a/tools/push3-transpiler/src/transpiler.ts +++ b/tools/push3-transpiler/src/transpiler.ts @@ -391,7 +391,7 @@ export function transpile(program: Node): TranspileResult { processItems(program.items, state); // Pop 4 outputs: top → ci, then anchorShare, anchorWidth, discoveryDepth. - if (state.dStack.length < 4) { + if (state.dStack.length !== 4) { throw new Error( `Program must leave exactly 4 values on the DYADIC stack; found ${state.dStack.length}`, );