aboutsummaryrefslogtreecommitdiff
path: root/test/compress/dead-code.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-01-28 07:33:11 +0800
committerGitHub <noreply@github.com>2020-01-28 07:33:11 +0800
commite9e76dcf040d5076b6046d7273c3509df106fb84 (patch)
treeafe9ded11df559969c75abcb106f6bc040f3a306 /test/compress/dead-code.js
parent0dcedad2d5a6b670ecd5aef3cf18d5e511af6e91 (diff)
downloadtracifyjs-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.js1
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);