diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-12-29 00:57:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-29 00:57:59 +0000 |
commit | 2f3930d1b92746be6a3b3e1d371b0ae25e56777e (patch) | |
tree | ad51c3dab21a6c88d39fedab202315a9b4942cb4 /lib | |
parent | d1a78920d9b85074fd4e9b0d07556a7a266631e8 (diff) | |
download | tracifyjs-2f3930d1b92746be6a3b3e1d371b0ae25e56777e.tar.gz tracifyjs-2f3930d1b92746be6a3b3e1d371b0ae25e56777e.zip |
fix corner case in `collapse_vars` (#3652)
fixes #3651
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compress.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js index 77f5d47c..70dafe99 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -3635,7 +3635,7 @@ merge(Compressor.prototype, { return !this.is_declared(compressor); }); def(AST_Try, function(compressor) { - return this.bcatch ? this.bcatch.may_throw(compressor) : any(this.body, compressor) + return (this.bcatch ? this.bcatch.may_throw(compressor) : any(this.body, compressor)) || this.bfinally && this.bfinally.may_throw(compressor); }); def(AST_Unary, function(compressor) { |