Skip to content

Commit 526e413

Browse files
committed
Dropping assert for 3.7
1 parent 8927aaa commit 526e413

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/compiler/program.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,6 @@ namespace ts {
15601560
}
15611561

15621562
function getDiagnosticsProducingTypeChecker() {
1563-
Debug.assert(!options.listFilesOnly || !!options.extendedDiagnostics);
15641563
return diagnosticsProducingTypeChecker || (diagnosticsProducingTypeChecker = createTypeChecker(program, /*produceDiagnostics:*/ true));
15651564
}
15661565

0 commit comments

Comments
 (0)