Add feature set ES8_MODULES method to optimizeArgumentsArray pass
@@ -2276,6 +2276,11 @@ public final class DefaultPassConfig extends PassConfig {
protected CompilerPass create(AbstractCompiler compiler) {
return new OptimizeArgumentsArray(compiler);
}
+
+ @Override
+ protected FeatureSet featureSet() {
+ return ES8_MODULES;
+ }
};
/** Remove variables set to goog.abstractMethod. */
