Run RemoveUnusedVars pass when language_out is ES6+. It is compatible with ES6 since
@@ -2607,7 +2607,13 @@ public final class DefaultPassConfig extends PassConfig {
preserveAnonymousFunctionNames,
modifyCallSites);
}
+
+ @Override
+ public FeatureSet featureSet() {
+ return ES8;
+ }
};
+
}
/**
