fix corner case in merge_vars (#5466)

fixes #5465
This commit is contained in:
Alex Lam S.L
2022-05-23 22:45:07 +01:00
committed by GitHub
parent d4caa97b88
commit 740f93f5a9
3 changed files with 64 additions and 33 deletions

View File

@@ -1815,8 +1815,8 @@ issue_4288: {
console.log(typeof b);
}()]: a,
}) {
var a = a;
a++;
var b = a;
b++;
}
f(0);
}
@@ -1848,8 +1848,8 @@ issue_4294: {
}) {}({
[a]: 0,
});
var a = A;
console.log(a);
var b = A;
console.log(b);
})();
}
expect_stdout: "PASS"