fix corner case in merge_vars (#5472)

fixes #5471
This commit is contained in:
Alex Lam S.L
2022-05-26 20:13:24 +01:00
committed by GitHub
parent 0dbf2b1d3c
commit 94aae05d45
5 changed files with 102 additions and 18 deletions

View File

@@ -726,8 +726,8 @@ issue_4401: {
expect: {
(function() {
var a = (b => b(a))(console.log || a);
var a = console.log;
a && a(typeof b);
var c = console.log;
c && c(typeof b);
})();
}
expect_stdout: [