Skip to content

Commit

Permalink
Correct placeholder pass name.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=226035348
  • Loading branch information
concavelenz authored and blickly committed Dec 19, 2018
1 parent aed8df7 commit c1ce398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/DefaultPassConfig.java
Expand Up @@ -378,7 +378,7 @@ protected List<PassFactory> getChecks() {
}

// Passes running before this point should expect to see language features up to ES_2017.
checks.add(createEmptyPass(PassNames.BEFORE_ES_2017_TRANSPILATION));
checks.add(createEmptyPass(PassNames.BEFORE_PRE_TYPECHECK_TRANSPILATION));

TranspilationPasses.addPreTypecheckTranspilationPasses(checks, options);

Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/PassNames.java
Expand Up @@ -29,7 +29,7 @@ public final class PassNames {
public static final String BEFORE_STANDARD_OPTIMIZATIONS = "beforeStandardOptimizations";
public static final String BEFORE_MAIN_OPTIMIZATIONS = "beforeMainOptimizations";
public static final String BEFORE_TYPE_CHECKING = "beforeTypeChecking";
public static final String BEFORE_ES_2017_TRANSPILATION = "beforeES2017Transpilation";
public static final String BEFORE_PRE_TYPECHECK_TRANSPILATION = "beforePreTypeCheckTranspilation";
public static final String CHECK_CONST_PARAMS = "checkConstParams";
public static final String CHECK_REG_EXP = "checkRegExp";
public static final String CHECK_TYPES = "checkTypes";
Expand Down

0 comments on commit c1ce398

Please sign in to comment.