Commit Graph

4 Commits

Author SHA1 Message Date
alexlamsl
5f898a8c42 fix dead_code on block-scoped function under "use strict"
Technically not part of ES5, but commonly used code exists in the wild.
2017-05-26 14:23:47 +08:00
Alex Lam S.L
c0f3feae9f introduce compressor.info() (#1633)
report the following only when `options.warnings = "verbose"`
- unused elements due to inlining
- collpased variables
2017-03-23 06:49:49 +08:00
kzc
c55dd5ed74 Add passes compress option. Fix duplicate compress warnings. 2016-04-19 20:05:33 +02:00
kzc
3907a5e3b2 Fix warnings for referenced non-hoisted functions.
Fixes #1034

Also added `expect_warnings` functionality to test framework.
2016-04-11 18:15:20 +02:00