diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 6f702ea9..9a6d0191 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -1911,7 +1911,8 @@ merge(Compressor.prototype, { if (!--replaced) abort = true; if (is_lhs(node, multi_replacer.parent())) return node; var ref = rvalue.clone(); - value_def.references.push(ref); + ref.scope = node.scope; + ref.reference(); if (replaced == assign_pos) { abort = true; return make_node(AST_Assign, candidate, { |