diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-10-15 14:18:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 14:18:12 +0800 |
commit | f86f615d836049fbae03271b59a67b8a9ca90ef7 (patch) | |
tree | 0aefbd7ca083b19abcd7392f25df053ba469c5b6 /lib | |
parent | d3d1d11926de43fc1ec74ae3a4d24a884d80d91f (diff) | |
download | tracifyjs-f86f615d836049fbae03271b59a67b8a9ca90ef7.tar.gz tracifyjs-f86f615d836049fbae03271b59a67b8a9ca90ef7.zip |
fix corner case in `ie8` & `mangle` (#3476)
fixes #3475
Diffstat (limited to 'lib')
-rw-r--r-- | lib/scope.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scope.js b/lib/scope.js index 1b570515..bd6cb26a 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -201,7 +201,7 @@ AST_Toplevel.DEFMETHOD("figure_out_scope", function(options) { } if (node instanceof AST_SymbolLambda) { var def = node.thedef; - redefine(node, node.scope.parent_scope); + redefine(node, node.scope.parent_scope.resolve()); node.thedef.init = def.init; return true; } |