fix for `if (...) return; else return ...;`
authorMihai Bazon <mihai@bazon.net>
Wed, 24 Oct 2012 06:33:32 +0000 (09:33 +0300)
committerMihai Bazon <mihai@bazon.net>
Wed, 24 Oct 2012 06:33:32 +0000 (09:33 +0300)
commit70fd2b1f336535188696d9e7b198b8acd31aa558
tree4279039cd90f45e8840198449efcc715cc8a9f90
parent30faaf13edca3a4db6867e8faf0f0b68c6ac11e0
fix for `if (...) return; else return ...;`

(it was assumed that the first `return` always contains a value)

close #22
lib/compress.js
test/compress/issue-22.js [new file with mode: 0644]