Run inlineSimpleMethods pass when language_out is ES6
@@ -2621,6 +2621,11 @@ public final class DefaultPassConfig extends PassConfig {
protected CompilerPass create(AbstractCompiler compiler) {
return new InlineSimpleMethods(compiler);
}
+
+ @Override
+ protected FeatureSet featureSet() {
+ return ES8_MODULES;
+ }
};
/** Kills dead assignments. */
