You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am trying to compile a single file that contains a call to arguments.callee.name I get an error "arguments.callee" cannot be used in strict mode while passing. When I pass the argument --jscomp_off=es5Strict I see no difference.
I think it might be even clearer to throw an error for --jscomp_off=es5Strict instead of silently setting the error level. I'll update the documentation for now, and try to land a change that
removes es5Strict from the wildcard warnings (so --jscomp_off=* won't affect es5Strict)
throws an error when someone sets --jscomp_off=es5Strict while still having strict mode input.
When I am trying to compile a single file that contains a call to arguments.callee.name I get an error "arguments.callee" cannot be used in strict mode while passing. When I pass the argument --jscomp_off=es5Strict I see no difference.
Is don't think this is by design, right?
My command;
java -jar "res\closure-compiler-v20180610.jar" --compilation_level SIMPLE --js "C:\test.js" --js_output_file "C:\test.min.js" --define='IS_DEBUG=false' --jscomp_off=es5Strict --jscomp_off=unknownDefines
The text was updated successfully, but these errors were encountered: