aboutsummaryrefslogtreecommitdiff
path: root/test/compress/classes.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-05-29 01:57:24 +0100
committerGitHub <noreply@github.com>2021-05-29 08:57:24 +0800
commit7fa1dea9d032c1ed282f84507e79cee57294945d (patch)
treedd54d245723192c1c98aebd8878a18c8f3edeac0 /test/compress/classes.js
parentd40631fd44165936158633cc81c4d62cc2a6a5a9 (diff)
downloadtracifyjs-7fa1dea9d032c1ed282f84507e79cee57294945d.tar.gz
tracifyjs-7fa1dea9d032c1ed282f84507e79cee57294945d.zip
fix corner cases in `collapse_vars` (#4978)
fixes #4977
Diffstat (limited to 'test/compress/classes.js')
-rw-r--r--test/compress/classes.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/compress/classes.js b/test/compress/classes.js
index 11dc801f..86af3f85 100644
--- a/test/compress/classes.js
+++ b/test/compress/classes.js
@@ -632,6 +632,7 @@ collapse_non_strict: {
collapse_rhs: {
options = {
collapse_vars: true,
+ unsafe: true,
}
input: {
"use strict";