Skip to content

Instantly share code, notes, and snippets.

@Mikolaj
Created September 15, 2016 10:42
Show Gist options
  • Save Mikolaj/55ea6bf0469ad8566e536135e82746c0 to your computer and use it in GitHub Desktop.
Save Mikolaj/55ea6bf0469ad8566e536135e82746c0 to your computer and use it in GitHub Desktop.
closure compiler warnings without dedupe
~/r/LambdaHack$ java -jar ~/Downloads/closure-compiler.jar dist/build/LambdaHack/LambdaHack.jsexe/all.js --compilation_level=ADVANCED_OPTIMIZATIONS > ~/Downloads/all.js
dist/build/LambdaHack/LambdaHack.jsexe/all.js:1389: WARNING - dangerous use of the global this object
this.console = {
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:1396: WARNING - dangerous use of the global this object
this.console = { log: this.print };
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:1396: WARNING - dangerous use of the global this object
this.console = { log: this.print };
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:2532: WARNING - namespace goog.math should not be redefined
goog.provide('goog.math.Long');
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:4260: WARNING - Duplicate case in a switch statement.
case 45:
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:11786: WARNING - unreachable code
return 0;
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:11792: WARNING - unreachable code
return 0;
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:12249: WARNING - variable h$runInitStatic redefined with type function (): ?, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:3682 with type function (): undefined
function h$runInitStatic()
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:18211: WARNING - variable h$ap_1_0 redefined with type function (?): ?, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:12397 with type function (): ?
function h$ap_1_0(h$RTS_577)
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:18937: WARNING - unreachable code
var h$RTS_615 = [];
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:19043: WARNING - variable h$dumpRes redefined with type function (): ?, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:18730 with type function (?): undefined
function h$dumpRes()
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:19293: WARNING - namespace goog.crypt should not be redefined
goog.provide('goog.crypt.Hash');
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:22172: WARNING - If this if/for/while really shouldn't have a body, use {}
for(i = l1 + l2; i > 0 && t[i] === 0; i--);
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:22189: WARNING - unreachable code
var l1 = b1.length, l2 = b2.length;
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:22326: WARNING - If this if/for/while really shouldn't have a body, use {}
while(r[r[0]] === 0 && r[0] > 0 && r[0]--);
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:23331: WARNING - unreachable code
h$ghcjsbn_assertValid_b(b, "index_b");
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:23493: WARNING - variable h$ghcjsbn_toDouble_b redefined, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:23341
function h$ghcjsbn_toDouble_b(nonNeg, b) {
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:24851: WARNING - variable h$listProps redefined, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:21132
function h$listProps(o) {
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:27812: WARNING - variable h$ghcjszmprimZCGHCJSziPrimziJSVal_con_e redefined, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:1339
function h$ghcjszmprimZCGHCJSziPrimziJSVal_con_e()
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:77225: WARNING - variable h$integerzmgmpZCGHCziIntegerziTypeziJnzh_con_e redefined, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:11826
function h$integerzmgmpZCGHCziIntegerziTypeziJnzh_con_e()
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:77246: WARNING - variable h$integerzmgmpZCGHCziIntegerziTypeziJpzh_con_e redefined, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:11821
function h$integerzmgmpZCGHCziIntegerziTypeziJpzh_con_e()
^
dist/build/LambdaHack/LambdaHack.jsexe/all.js:77267: WARNING - variable h$integerzmgmpZCGHCziIntegerziTypeziSzh_con_e redefined, original definition at dist/build/LambdaHack/LambdaHack.jsexe/all.js:11816
function h$integerzmgmpZCGHCziIntegerziTypeziSzh_con_e()
^
0 error(s), 22 warning(s)
~/r/LambdaHack$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment