aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
AgeCommit message (Expand)Author
2018-01-07enable AppVeyor CI (#2739)Alex Lam S.L
2016-07-17Build with AppVeyor on windowsRichard van Velzen
='selected'>includemode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-05-24 04:24:02 +0100
committerGitHub <noreply@github.com>2021-05-24 11:24:02 +0800
commitdf47632eccdc505810073d7bfced21bbf8c2dd98 (patch)
tree7591b4f417233c8a42d1a73f95cd2e7e0cb2a615 /test/compress
parenteb08fed120ad1d2dcd41a2ae03cec3d3b2885c7b (diff)
downloadtracifyjs-df47632eccdc505810073d7bfced21bbf8c2dd98.tar.gz
tracifyjs-df47632eccdc505810073d7bfced21bbf8c2dd98.zip
fix corner case in `ie8` (#4959)
fixes #4958
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/ie8.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/compress/ie8.js b/test/compress/ie8.js
index 3221c92a..018cd2d8 100644
--- a/test/compress/ie8.js
+++ b/test/compress/ie8.js
@@ -2997,3 +2997,23 @@ issue_4928_2: {
}
expect_stdout: "PASS"
}
+
+issue_4958: {
+ options = {
+ collapse_vars: true,
+ ie8: true,
+ }
+ input: {
+ console.log(function arguments(a) {
+ a = 21;
+ return arguments[0] + 21;
+ }("FAIL"));
+ }
+ expect: {
+ console.log(function arguments(a) {
+ a = 21;
+ return arguments[0] + 21;
+ }("FAIL"));
+ }
+ expect_stdout: "42"
+}