I use the Closure compiler with --warning_level=VERBOSE and --compilation_level ADVANCED_OPTIMIZATIONS
It outputs:
{SyntheticVarsDeclar}: WARNING - Redeclared variable: i 0 error(s), 1 warning(s)
Is there a way to find out more information about where this variable i declared?
// Update
I skipped every i variable in all files, and there aren't any that have been updated.
Here is a list of flags used:
--jscomp_off=externsValidation
--summary_detail_level=3
--warning_level=VERBOSE
--externs
--compilation_level ADVANCED_OPTIMIZATIONS
--output_wrapper
--source_map_format
--js_output_file
// Update 2
I use the latest Closure compiler: http://dl.google.com/closure-compiler/compiler-latest.zip
When I add "var i" to the beginning of the first file, the compiler returns with:
firstFile.js:1: WARNING - Redeclared variable: i var i; ^
and there is no previous warning {SyntheticVarsDeclar}.
source share