Skip to content

Commit

Permalink
Rollback "Turned on checkConsts to output ES8_MODULES".
Browse files Browse the repository at this point in the history
It caused an NPE.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=164764650
  • Loading branch information
brad4d authored and blickly committed Aug 10, 2017
1 parent 38b296e commit 195945b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/com/google/javascript/jscomp/DefaultPassConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -2216,11 +2216,6 @@ public FeatureSet featureSet() {
protected CompilerPass create(AbstractCompiler compiler) {
return new ConstCheck(compiler);
}

@Override
public FeatureSet featureSet() {
return ES8_MODULES;
}
};

/** Checks that the arguments are constants */
Expand Down

0 comments on commit 195945b

Please sign in to comment.