diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2020-04-05 03:42:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 10:42:23 +0800 |
commit | 1b07f640573494d1f8625f8926868caeaeaaaa9e (patch) | |
tree | b2f77fdafe1a05439bad270a9b561eb437db5916 /test/ufuzz | |
parent | 80d9c44b22fd8d479d0cf86b1037568ea3f94cd7 (diff) | |
download | tracifyjs-1b07f640573494d1f8625f8926868caeaeaaaa9e.tar.gz tracifyjs-1b07f640573494d1f8625f8926868caeaeaaaa9e.zip |
enhance `inline` (#3760)
Diffstat (limited to 'test/ufuzz')
-rw-r--r-- | test/ufuzz/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js index f1fce6a1..76a782ef 100644 --- a/test/ufuzz/index.js +++ b/test/ufuzz/index.js @@ -704,6 +704,7 @@ function _createExpression(recurmax, noComma, stmtDepth, canThrow) { break; } VAR_NAMES.length = nameLenBefore; + if (canThrow && rng(8) == 0 && !/^new /.test(s[0])) s[s.length - 1] += "()"; return filterDirective(s).join("\n"); case p++: case p++: |