Index: sdk/lib/_internal/compiler/implementation/js/nodes.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js/nodes.dart b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
index ccf91b945319c044dacb28f2c4517a50ac584c61..fe89432e088c8bd0599b362e0d15eb1d643a392a 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js/nodes.dart |
@@ -1081,8 +1081,7 @@ class MiniJsParserError { |
String message; |
String toString() { |
- var codes = |
- new List.fixedLength(parser.lastPosition, fill: charCodes.$SPACE); |
+ var codes = new List.filled(parser.lastPosition, charCodes.$SPACE); |
var spaces = new String.fromCharCodes(codes); |
return "Error in MiniJsParser:\n${parser.src}\n$spaces^\n$spaces$message\n"; |
} |