fix corner cases in inline (#3507)

fixes #3506
This commit is contained in:
Alex Lam S.L
2019-10-22 15:41:55 +08:00
committed by GitHub
parent da5a21b240
commit 0b3705e82f
5 changed files with 167 additions and 17 deletions

View File

@@ -6609,10 +6609,10 @@ issues_3267_1: {
}
expect: {
!function(i) {
if (i)
if (Object())
return console.log("PASS");
throw "FAIL";
}(Object());
}();
}
expect_stdout: "PASS"
}