Update TODOs for clarity and re-enable one disabled test.
@@ -5118,8 +5118,7 @@ public final class IntegrationTest extends IntegrationTestCase {
+ "b[a-0]=arguments[a];return b[0]}(8))");
}
- // TODO(b/69850796): Re-enable when InlineFunctions' FeatureSet is set back to ES6+.
- public void disabled_testInlineRestParamNonTranspiling() {
+ public void testInlineRestParamNonTranspiling() {
CompilerOptions options = createCompilerOptions();
options.setLanguageIn(LanguageMode.ECMASCRIPT_2017);
options.setLanguageOut(LanguageMode.ECMASCRIPT_2017);
@@ -5198,7 +5197,7 @@ public final class IntegrationTest extends IntegrationTestCase {
"var a={a:9}; a=void 0===a?{a:5}:a;alert(3+a.a)");
}
- // TODO(b/69850796): Re-enable when InlineFunctions' FeatureSet is set back to ES6+.
+ // TODO(b/69850796): Re-enable if/when InlineFunctions supports inlining default parameters
public void disabled_testDefaultParametersNonTranspiling() {
CompilerOptions options = createCompilerOptions();
CompilationLevel.ADVANCED_OPTIMIZATIONS.setOptionsForCompilationLevel(options);
@@ -5237,7 +5236,8 @@ public final class IntegrationTest extends IntegrationTestCase {
"}(1,1,1,1,1))"));
}
- // TODO(b/69850796): Re-enable when InlineFunctions' FeatureSet is set back to ES6+.
+ // TODO(b/69850796): Re-enable if/when InlineFunctions supports rest parameters that are
+ // object patterns.
public void disabled_testRestObjectPatternParametersNonTranspiling() {
CompilerOptions options = createCompilerOptions();
CompilationLevel.ADVANCED_OPTIMIZATIONS.setOptionsForCompilationLevel(options);
