Skip to content

Commit cf375cb

Browse files
concavelenzcopybara-github
authored andcommitted
Remove BEFORE_PRE_TYPECHECK_TRANSPILATION pass name.
PiperOrigin-RevId: 611521094
1 parent c309a8c commit cf375cb

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/com/google/javascript/jscomp/DefaultPassConfig.java

-3
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ protected PassListBuilder getChecks() {
378378
checks.maybeAdd(checkRegExp);
379379
}
380380

381-
// Passes running before this point should expect to see language features up to ES_2017.
382-
checks.maybeAdd(createEmptyPass(PassNames.BEFORE_PRE_TYPECHECK_TRANSPILATION));
383-
384381
checks.maybeAdd(createEmptyPass(PassNames.BEFORE_TYPE_CHECKING));
385382

386383
if (options.checkTypes || options.inferTypes) {

src/com/google/javascript/jscomp/PassNames.java

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public final class PassNames {
3333
public static final String BEFORE_STANDARD_OPTIMIZATIONS = "beforeStandardOptimizations";
3434
public static final String BEFORE_MAIN_OPTIMIZATIONS = "beforeMainOptimizations";
3535
public static final String BEFORE_TYPE_CHECKING = "beforeTypeChecking";
36-
public static final String BEFORE_PRE_TYPECHECK_TRANSPILATION = "beforePreTypeCheckTranspilation";
3736
public static final String BEFORE_SERIALIZATION = "beforeSerialization";
3837
public static final String CHECK_CONFORMANCE = "checkConformance";
3938
public static final String CHECK_CONST_PARAMS = "checkConstParams";

0 commit comments

Comments
 (0)