Index: dart/lib/compiler/implementation/source_file.dart |
diff --git a/dart/lib/compiler/implementation/source_file.dart b/dart/lib/compiler/implementation/source_file.dart |
index b8f138f924c1c083fdb762b4dc11073fb3f68d45..884d00854d181dd6172513dab2d0f4e820410609 100644 |
--- a/dart/lib/compiler/implementation/source_file.dart |
+++ b/dart/lib/compiler/implementation/source_file.dart |
@@ -67,7 +67,7 @@ class SourceFile { |
if ((line + 2) < _lineStarts.length) { |
textLine = text.substring(_lineStarts[line], _lineStarts[line+1]); |
} else { |
- textLine = text.substring(_lineStarts[line]) + '\n'; |
+ textLine = '${text.substring(_lineStarts[line])}\n'; |
} |
int toColumn = Math.min(column + (end-start), textLine.length); |