Fix warnings for referenced non-hoisted functions.
authorkzc <zaxxon2011@gmail.com>
Sun, 10 Apr 2016 19:41:38 +0000 (15:41 -0400)
committerRichard van Velzen <rvanvelzen@experty.com>
Mon, 11 Apr 2016 16:15:20 +0000 (18:15 +0200)
commit3907a5e3b2c40904f2cb333ede23d6d59bb48c13
treec36832ce2ab7e53025f14fd625a7561165403619
parentb434b75b3676f5e3f42bf3817ac7dc1ab898b3d2
Fix warnings for referenced non-hoisted functions.

Fixes #1034

Also added `expect_warnings` functionality to test framework.
lib/compress.js
test/compress/issue-1034.js [new file with mode: 0644]
test/run-tests.js