Skip to content

Commit

Permalink
Rollback "If NTI and --checks_only are both enabled, skip running OTI"
Browse files Browse the repository at this point in the history
Broke internal Google projects.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=160530096
  • Loading branch information
dimvar authored and brad4d committed Jun 29, 2017
1 parent 715c0c1 commit f1fc500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/DefaultPassConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ protected List<PassFactory> getChecks() {
// In addition, I will probably have a local edit of the repo that retains both
// types on Nodes, so I can test full builds on my machine. We can't check in such
// a change because it would greatly increase memory usage.
if (options.getNewTypeInference() && !options.checksOnly) {
if (options.getNewTypeInference()) {
addOldTypeCheckerPasses(checks, options);
}

Expand Down

0 comments on commit f1fc500

Please sign in to comment.