fix corner case in inline (#5527)

fixes #5526
This commit is contained in:
Alex Lam S.L
2022-06-26 13:48:14 +01:00
committed by GitHub
parent fcc87edb71
commit f1b3e9df1e
11 changed files with 72 additions and 11 deletions

View File

@@ -9611,6 +9611,7 @@ inline_throw: {
collapse_vars: true,
inline: true,
keep_fargs: false,
side_effects: true,
unused: true,
}
input: {
@@ -9630,7 +9631,6 @@ inline_throw: {
try {
(function(a) {
throw a;
return;
})("PASS");
} catch (e) {
console.log(e);