Remove unused arguments in program.ts.

This commit is contained in:
Daniel Rosenwasser
2017-09-27 22:04:52 -07:00
parent b6629f4fac
commit 76d92a5dd6
Regular → Executable
+1 -1
View File
@@ -1582,7 +1582,7 @@ namespace ts {
fail(Diagnostics.File_0_not_found, fileName);
}
else if (refFile && host.getCanonicalFileName(fileName) === host.getCanonicalFileName(refFile.fileName)) {
fail(Diagnostics.A_file_cannot_have_a_reference_to_itself, fileName);
fail(Diagnostics.A_file_cannot_have_a_reference_to_itself);
}
}
return sourceFile;