diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-01-28 07:33:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 07:33:11 +0800 |
commit | e9e76dcf040d5076b6046d7273c3509df106fb84 (patch) | |
tree | afe9ded11df559969c75abcb106f6bc040f3a306 /test/compress/dead-code.js | |
parent | 0dcedad2d5a6b670ecd5aef3cf18d5e511af6e91 (diff) | |
download | tracifyjs-e9e76dcf040d5076b6046d7273c3509df106fb84.tar.gz tracifyjs-e9e76dcf040d5076b6046d7273c3509df106fb84.zip |
fix corner case in string concatenations (#3692)
- migrate de-facto compression to `conditionals` & `strings`
fixes #3689
Diffstat (limited to 'test/compress/dead-code.js')
-rw-r--r-- | test/compress/dead-code.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/compress/dead-code.js b/test/compress/dead-code.js index 024d710b..344e1ff9 100644 --- a/test/compress/dead-code.js +++ b/test/compress/dead-code.js @@ -830,6 +830,7 @@ issue_3552: { unreachable_assign: { options = { dead_code: true, + strings: true, } input: { console.log(A = "P" + (A = "A" + (B = "S" + (A = B = "S"))), A, B); |