diff --git a/src/compiler/tsc.ts b/src/compiler/tsc.ts index abefd6e4819..0c885ff138f 100644 --- a/src/compiler/tsc.ts +++ b/src/compiler/tsc.ts @@ -91,7 +91,7 @@ module ts { if (diagnostic.file) { var loc = diagnostic.file.getLineAndCharacterFromPosition(diagnostic.start); - var output = diagnostic.file.filename + "(" + loc.line + "," + loc.character + "): "; + output += diagnostic.file.filename + "(" + loc.line + "," + loc.character + "): "; } var category = DiagnosticCategory[diagnostic.category];