Skip to content

Commit e7b72db

Browse files
committed
Update comment
1 parent 43a508d commit e7b72db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/harnessIO.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,8 @@ export namespace Compiler {
609609
// do not count errors from lib.d.ts here, they are computed separately as numLibraryDiagnostics
610610
// if lib.d.ts is explicitly included in input files and there are some errors in it (i.e. because of duplicate identifiers)
611611
// then they will be added twice thus triggering 'total errors' assertion with condition
612-
// 'totalErrorsReportedInNonLibraryFiles + numLibraryDiagnostics + numTest262HarnessDiagnostics, diagnostics.length
613612
// Similarly for tsconfig, which may be in the input files and contain errors.
613+
// 'totalErrorsReportedInNonLibraryNonTsconfigFiles + numLibraryDiagnostics + numTsconfigDiagnostics + numTest262HarnessDiagnostics, diagnostics.length
614614

615615
if (!error.file || !isDefaultLibraryFile(error.file.fileName) && !vpath.isTsConfigFile(error.file.fileName)) {
616616
totalErrorsReportedInNonLibraryNonTsconfigFiles++;

0 commit comments

Comments
 (0)