fix corner case in inline (#5068)

fixes #5067
This commit is contained in:
Alex Lam S.L
2021-07-10 21:11:10 +01:00
committed by GitHub
parent aae1fcd12d
commit d147d5d7f0
2 changed files with 17 additions and 2 deletions

View File

@@ -6398,3 +6398,18 @@ issue_5061_2: {
"bar",
]
}
issue_5067: {
options = {
inline: true,
reduce_vars: true,
toplevel: true,
unused: true,
}
input: {
var f = function() {
f();
};
}
expect: {}
}