I think the ideal solution here would involve modifying that file in the compiler itself to allow an optional compiler instance to be passed in, but I'm not sure about the interop between the two repos so I'm sticking to modifying just plovr for now.
This fixes a couple inconsistency issues, particularly https://github.com/bolinfest/plovr/issues/131.
I had to make the
compiler
argument toConfig.getCompilerOptions
nullable for this, since the compiler used here is private to the extractor.I think the ideal solution here would involve modifying that file in the compiler itself to allow an optional compiler instance to be passed in, but I'm not sure about the interop between the two repos so I'm sticking to modifying just plovr for now.