mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 11:16:42 +01:00
better info in runtime constraint assertion
This commit is contained in:
@@ -1046,6 +1046,8 @@ function execSignalAssign(ctx, ast) {
|
||||
}
|
||||
|
||||
function execConstrain(ctx, ast) {
|
||||
ast.fileName = ctx.fileName;
|
||||
ast.filePath = ctx.filePath;
|
||||
const a = exec(ctx, ast.values[0]);
|
||||
if (ctx.error) return;
|
||||
const b = exec(ctx, ast.values[1]);
|
||||
|
||||
Reference in New Issue
Block a user