aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1770.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-01-28 22:44:18 +0800
committerGitHub <noreply@github.com>2020-01-28 22:44:18 +0800
commit87119e44a08118bf302a4da6ae71e74f8bea4f89 (patch)
tree9907c467959cf510bcae59126996485e3c212cbd /test/compress/issue-1770.js
parentb499e03f82987d59814c81fb9f211fee5e3a7ba4 (diff)
downloadtracifyjs-87119e44a08118bf302a4da6ae71e74f8bea4f89.tar.gz
tracifyjs-87119e44a08118bf302a4da6ae71e74f8bea4f89.zip
fix corner case in sign propagation (#3696)
- migrate de-facto functionality to `evaluate` fixes #3695
Diffstat (limited to 'test/compress/issue-1770.js')
-rw-r--r--test/compress/issue-1770.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/issue-1770.js b/test/compress/issue-1770.js
index 7a529b2c..cd86d9d5 100644
--- a/test/compress/issue-1770.js
+++ b/test/compress/issue-1770.js
@@ -46,7 +46,7 @@ mangle_props: {
obj[1/0],
obj["Infinity"],
obj[-1/0],
- obj[-1/0],
+ obj[-(1/0)],
obj["-Infinity"],
obj[null],
obj["null"]