[Pkg-javascript-commits] [uglifyjs] 261/491: tweak #2424 (#2432)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:42 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 25a18883f5130ae809e1e38c226948576a2a4e90
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Sun Nov 5 12:49:14 2017 +0800

    tweak #2424 (#2432)
---
 test/ufuzz.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ufuzz.js b/test/ufuzz.js
index 702e207..578103e 100644
--- a/test/ufuzz.js
+++ b/test/ufuzz.js
@@ -353,7 +353,7 @@ function createParams() {
 function createArgs(recurmax, stmtDepth, canThrow) {
     var args = [];
     for (var n = rng(4); --n >= 0;) {
-        args.push(createExpression(recurmax, COMMA_OK, stmtDepth, canThrow));
+        args.push(rng(2) ? createValue() : createExpression(recurmax - 1, COMMA_OK, stmtDepth, canThrow));
     }
     return args.join(', ');
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list