Skip to content

Commit 76d92a5

Browse files
Remove unused arguments in program.ts.
1 parent b6629f4 commit 76d92a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/program.ts

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ namespace ts {
15821582
fail(Diagnostics.File_0_not_found, fileName);
15831583
}
15841584
else if (refFile && host.getCanonicalFileName(fileName) === host.getCanonicalFileName(refFile.fileName)) {
1585-
fail(Diagnostics.A_file_cannot_have_a_reference_to_itself, fileName);
1585+
fail(Diagnostics.A_file_cannot_have_a_reference_to_itself);
15861586
}
15871587
}
15881588
return sourceFile;

0 commit comments

Comments
 (0)