arnaucube
arnaucube/circomPublic Self-hosted repository
Merge branch 'master' of github.com:iden3/circom
Jordi Baylina jordi@baylina.cat
Wed, 18 Sep 2019 17:43:26 +0200
commit

bacb7afde7dd3ef18fbe7611a6813ec7d1851d51

parent

d04eff6c0d5f80149addb031cf15eba8c8e8e09d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gencode.js → src/gencode.js

@@ -422,7 +422,7 @@ const a = gen(ctx, ast.values[0]);

if (ctx.error) return; const b = gen(ctx, ast.values[1]); if (ctx.error) return; - const strErr = ast.fileName +": "+ast.first_line; + const strErr = ast.fileName + ":" + ast.first_line + ":" + ast.first_column; return `ctx.assert(${a}, ${b}, \"${strErr}\")`; }