diff --git a/src/compiler/program.ts b/src/compiler/program.ts old mode 100644 new mode 100755 index c8ff2496725..1875213fe50 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -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;