Fix compressing `![foo()];` as a statement
authorMihai Bazon <mihai.bazon@gmail.com>
Mon, 23 Mar 2015 21:27:00 +0000 (23:27 +0200)
committerMihai Bazon <mihai.bazon@gmail.com>
Mon, 23 Mar 2015 21:27:00 +0000 (23:27 +0200)
commit276b9a31cda2a2ef93e7af4e966baae91a434361
tree9a78b3d51d53bfed51670aa9ac25cffeae3a7196
parent5801fa39e9524e7b7a565a39c5efa12cdef3202f
Fix compressing `![foo()];` as a statement

need to check whether the literal has any side effects before replacing that
with `false`.
lib/compress.js