diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-06-07 06:48:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 13:48:29 +0800 |
commit | aa37b196989edc13988ab225e4a7c954565e39eb (patch) | |
tree | 03250f3cc015f469f142da30ae9206310c131940 /lib/compress.js | |
parent | 02e889e44996e9215fbbb4997c635518334df1c4 (diff) | |
download | tracifyjs-aa37b196989edc13988ab225e4a7c954565e39eb.tar.gz tracifyjs-aa37b196989edc13988ab225e4a7c954565e39eb.zip |
fix corner case in `unused` (#3963)
fixes #3962
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 6aa81a52..749abef5 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -4521,7 +4521,7 @@ merge(Compressor.prototype, { var index = indexOf_assign(sym, def); if (index >= 0) assign_in_use[sym.id][index] = assign; sym.eliminated++; - return assign.transform(tt); + return assign; })); } else if (head.length > 0 || tail.length > 0) { node.definitions = head.concat(tail); |