| Index: lib/compiler/implementation/dart2js.dart
|
| diff --git a/lib/compiler/implementation/dart2js.dart b/lib/compiler/implementation/dart2js.dart
|
| index a2378313cb78e5ca71c6dc459d883b64a999106c..2b729f578224a9fbc7e8ff6daffda9630afbbd9f 100644
|
| --- a/lib/compiler/implementation/dart2js.dart
|
| +++ b/lib/compiler/implementation/dart2js.dart
|
| @@ -143,7 +143,7 @@ void writeString(Uri uri, String text) {
|
| }
|
|
|
| String readAll(String filename) {
|
| - var file = (new File(filename)).openSync();
|
| + var file = (new File(filename)).openSync(FileMode.READ);
|
| var length = file.lengthSync();
|
| var buffer = new List<int>(length);
|
| var bytes = file.readListSync(buffer, 0, length);
|
|
|