Re: [closure-compiler-discuss] Is there any benefit to compiling my tests with advanced mode?

24 views
Skip to first unread message

John Lenz

unread,
Jul 19, 2012, 1:31:37 AM7/19/12
to closure-comp...@googlegroups.com
It is always good to test with the environment your customers are going to use.  But in particular to Advanced mode, it makes a number of assumptions when compiling code in addition to requiring distinguishing between internal and external properties and variables, and may be worthwhile verifying you aren't breaking those assumptions:

https://code.google.com/p/closure-compiler/wiki/CompilerAssumptions

On Wed, Jul 18, 2012 at 6:33 PM, <rye...@gmail.com> wrote:
The point being to catch any renaming messups or anything like that.

But I have all warnings on, and it's on verbose mode. This seems to catch many things such as forgetting to define externs. Is there any point to compiling my tests with advanced mode alongside the application code, short of catching bugs in the compiler?

Reply all
Reply to author
Forward
0 new messages