From 76d92a5dd6d433d1b62958f7c8b153ed3b8e5d65 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Wed, 27 Sep 2017 21:25:55 -0700 Subject: [PATCH] Remove unused arguments in program.ts. --- src/compiler/program.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/compiler/program.ts 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;