We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6629f4 commit 76d92a5Copy full SHA for 76d92a5
src/compiler/program.ts
100644
100755
@@ -1582,7 +1582,7 @@ namespace ts {
1582
fail(Diagnostics.File_0_not_found, fileName);
1583
}
1584
else if (refFile && host.getCanonicalFileName(fileName) === host.getCanonicalFileName(refFile.fileName)) {
1585
- fail(Diagnostics.A_file_cannot_have_a_reference_to_itself, fileName);
+ fail(Diagnostics.A_file_cannot_have_a_reference_to_itself);
1586
1587
1588
return sourceFile;
0 commit comments