fix corner case in keep_fargs & reduce_vars (#4354)

fixes #4353
This commit is contained in:
Alex Lam S.L
2020-12-08 17:41:10 +00:00
committed by GitHub
parent fea9da9866
commit 046bbde9d4
2 changed files with 35 additions and 0 deletions

View File

@@ -904,6 +904,7 @@ merge(Compressor.prototype, {
reset_variables(tw, compressor, fn);
descend();
pop(tw);
if (fn.name) mark_escaped(tw, fn.name.definition(), fn, fn.name, fn, 0, 1);
walk_defuns(tw, fn);
}
return true;