mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 11:16:42 +01:00
If without else
This commit is contained in:
@@ -578,8 +578,10 @@ function execIf(ctx, ast) {
|
||||
exec(ctx, ast.then);
|
||||
if (ctx.error) return;
|
||||
} else {
|
||||
exec(ctx, ast.else);
|
||||
if (ctx.error) return;
|
||||
if (ast.else) {
|
||||
exec(ctx, ast.else);
|
||||
if (ctx.error) return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user