closure-compiler icon indicating copy to clipboard operation
closure-compiler copied to clipboard

Default check levels aren't documented precisely

Open emaxx-google opened this issue 4 years ago • 1 comments

  • The official doc on compilation levels doesn't explain that most checks get enabled in the ADVANCED compilation mode only: https://developers.google.com/closure/compiler/docs/compilation_levels
  • The Wiki page on compiler warnings misguides that the "checkTypes" check is on by default, meanwhile it's actually not when the SIMPLE compilation mode is used: https://github.com/google/closure-compiler/wiki/Warnings

emaxx-google avatar Oct 27 '21 11:10 emaxx-google

Related discussion: https://groups.google.com/g/closure-compiler-discuss/c/lIGMmsWJtB0

Personally, I forgot that type-checking wasn't enabled by default in SIMPLE mode

blickly avatar Nov 02 '21 23:11 blickly