| Index: pkg/compiler/lib/src/source_file_provider.dart
|
| diff --git a/pkg/compiler/lib/src/source_file_provider.dart b/pkg/compiler/lib/src/source_file_provider.dart
|
| index b2cafcb3798905241e045841de4769d6d367f4c3..22273d49353f9b2aec1a89543eddffec3498042b 100644
|
| --- a/pkg/compiler/lib/src/source_file_provider.dart
|
| +++ b/pkg/compiler/lib/src/source_file_provider.dart
|
| @@ -43,7 +43,7 @@ abstract class SourceFileProvider implements CompilerInput {
|
| assert(resourceUri.scheme == 'file');
|
| List<int> source;
|
| try {
|
| - source = _readAll(resourceUri.toFilePath());
|
| + source = readAll(resourceUri.toFilePath());
|
| } on FileSystemException catch (ex) {
|
| String message = ex.osError?.message;
|
| String detail = message != null ? ' ($message)' : '';
|
| @@ -97,7 +97,7 @@ abstract class SourceFileProvider implements CompilerInput {
|
| }
|
| }
|
|
|
| -List<int> _readAll(String filename) {
|
| +List<int> readAll(String filename) {
|
| var file = (new File(filename)).openSync();
|
| var length = file.lengthSync();
|
| // +1 to have a 0 terminated list, see [Scanner].
|
|
|