Remove no-op "typeCheckEs6Natively" compiler option
@@ -222,15 +222,6 @@ public class CompilerOptions implements Serializable {
*/
boolean inferTypes;
- /**
- * Run type checking natively on the subset of ES6 features that we are able to typecheck
- * natively, and then transpile them after NTI.
- * Doing this currently causes reordering of {@link LateEs6ToEs3Converter} pass
- * and {@link Es6RewriteBlockScopedDeclaration} pass, which has the potential to break builds.
- * This option should eventually be turned on by default and removed.
- */
- private boolean typeCheckEs6Natively = false;
-
/**
* Configures the compiler to skip as many passes as possible.
* If transpilation is requested, it will be run, but all others passes will be skipped.
@@ -2001,14 +1992,6 @@ public class CompilerOptions implements Serializable {
return this.checkTypes;
}
- public boolean getTypeCheckEs6Natively() {
- return this.typeCheckEs6Natively;
- }
-
- public void setTypeCheckEs6Natively(boolean enable) {
- this.typeCheckEs6Natively = enable;
- }
-
/**
* @return Whether assumeStrictThis is set.
*/
