On 9/22/15, 7:25 AM, "Josh Tynjala" <joshtynj...@gmail.com> wrote:
>No, this particular option of the Closure compiler is currently >hard-coded. > >As for making it a compile-time option, we should keep in mind that not >all >emitters will necessarily use Closure compiler in the future. This may >affect how the option should be named, or how it gets parsed and validated >in the compiler code. Yep, but IMO, rather than choosing a compilation level, we should make it possible to control “every” GCC option. Not sure how, so feel free to turn this into a discussion on that topic. We could prefix all GCC options with -gcc. We could make you specify GCC options in a gcc-compile.config.xml file. Others? Thanks, -Alex