Skip to content

Commit c3590aa

Browse files
Turned redeclaration into a string append.
1 parent 07d5689 commit c3590aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/tsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ module ts {
9191
if (diagnostic.file) {
9292
var loc = diagnostic.file.getLineAndCharacterFromPosition(diagnostic.start);
9393

94-
var output = diagnostic.file.filename + "(" + loc.line + "," + loc.character + "): ";
94+
output += diagnostic.file.filename + "(" + loc.line + "," + loc.character + "): ";
9595
}
9696

9797
var category = DiagnosticCategory[diagnostic.category];

0 commit comments

Comments
 (0)