diff options
Diffstat (limited to 'lib/compress.js')
-rw-r--r-- | lib/compress.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compress.js b/lib/compress.js index 2a8ba8a0..49c1572d 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -4749,9 +4749,13 @@ merge(Compressor.prototype, { var def = ref.definition(); var ldef = node.variables.get(ref.name); if (ldef && (ldef === def || def.undeclared || node.parent_scope.find_variable(ref) === def)) { + references[def.id] = false; references[ldef.id] = false; } else { + var save = segment; + pop(); mark(ref, true, false); + segment = save; } return true; }); |