Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f174a62

Browse files
blicklycopybara-github
authored andcommitted
Remove the unused RUN_IJS_CHECKS_LATE mode
PiperOrigin-RevId: 743741040
1 parent 0da81b1 commit f174a62

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

‎src/com/google/javascript/jscomp/CompilerOptions.java‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,6 @@ public enum IncrementalCheckMode {
308308
* code being compiled. This is useful for incremental type checking.
309309
*/
310310
GENERATE_IJS,
311-
312-
/**
313-
* The compiler should run the same checks as used during type-only interface generation, but
314-
* run them after typechecking to give better error messages. This only makes sense in
315-
* --checks_only mode.
316-
*/
317-
RUN_IJS_CHECKS_LATE,
318311
}
319312

320313
private IncrementalCheckMode incrementalCheckMode = IncrementalCheckMode.OFF;
@@ -323,7 +316,6 @@ public void setIncrementalChecks(IncrementalCheckMode value) {
323316
incrementalCheckMode = value;
324317
switch (value) {
325318
case OFF:
326-
case RUN_IJS_CHECKS_LATE:
327319
break;
328320
case GENERATE_IJS:
329321
setPreserveTypeAnnotations(true);
@@ -336,10 +328,6 @@ public boolean shouldGenerateTypedExterns() {
336328
return incrementalCheckMode == IncrementalCheckMode.GENERATE_IJS;
337329
}
338330

339-
public boolean shouldRunTypeSummaryChecksLate() {
340-
return incrementalCheckMode == IncrementalCheckMode.RUN_IJS_CHECKS_LATE;
341-
}
342-
343331
private Config.JsDocParsing parseJsDocDocumentation = Config.JsDocParsing.TYPES_ONLY;
344332

345333
private boolean printExterns;

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,6 @@ protected PassListBuilder getChecks() {
452452
checks.maybeAdd(j2clChecksPass);
453453
}
454454

455-
if (options.shouldRunTypeSummaryChecksLate()) {
456-
checks.maybeAdd(generateIjs);
457-
}
458-
459455
if (options.generateExports) {
460456
checks.maybeAdd(generateExports);
461457
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /