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 531c9aad..6c26e8a9 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -5659,7 +5659,7 @@ merge(Compressor.prototype, { var defun = make_node(AST_Defun, def, def.value); defun.name = make_node(AST_SymbolDefun, def.name, def.name); var name_def = def.name.scope.resolve().def_function(defun.name); - if (old_def) old_def.references.forEach(function(node) { + if (old_def) old_def.forEach(function(node) { node.name = name_def.name; node.thedef = name_def; node.reference({}); |