Index: sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart b/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart |
index 115b89e57c1a2bcd24873e589821bd4cb4dbeea0..3b0c2fb40069e71c74767fa43723cf15b4621da6 100644 |
--- a/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart |
+++ b/sdk/lib/_internal/compiler/implementation/tools/mini_parser.dart |
@@ -164,7 +164,7 @@ List<int> read(String filename) { |
try { |
int size = file.lengthSync(); |
List<int> bytes = new Uint8List(size + 1); |
- file.readListSync(bytes, 0, size); |
+ file.readIntoSync(bytes, 0, size); |
bytes[size] = $EOF; |
threw = false; |
return bytes; |