Turned redeclaration into a string append.

This commit is contained in:
Daniel Rosenwasser
2014-08-21 17:33:55 -07:00
parent 07d56898ee
commit c3590aa233

View File

@@ -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];