diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index ab837f60..9333cdf9 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -8429,7 +8429,7 @@ merge(Compressor.prototype, { fixed.name = make_node(AST_SymbolLambda, fixed.name, fixed.name); } if (fixed instanceof AST_Lambda) { - var scope = self.scope; + var scope = self.scope.resolve(); fixed.enclosed.forEach(function(def) { if (fixed.variables.has(def.name)) return; if (scope.var_names()[def.name]) return; |