better info in runtime constraint assertion

This commit is contained in:
Jordi Baylina
2019-09-15 10:47:52 +02:00
parent 680e3fe139
commit 67a35ee400
2 changed files with 6 additions and 2 deletions

View File

@@ -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]);