| Index: sdk/lib/io/file_impl.dart
|
| diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart
|
| index 34e03ded1a8a511de20d362ee2cd38badcc5ce8b..2dac1b84d7e65a741a43b8423456b621fc2807ab 100644
|
| --- a/sdk/lib/io/file_impl.dart
|
| +++ b/sdk/lib/io/file_impl.dart
|
| @@ -208,9 +208,7 @@ class _FileStreamConsumer extends StreamConsumer<List<int>> {
|
| onError: error,
|
| cancelOnError: true);
|
| })
|
| - .catchError((e) {
|
| - completer.completeError(e);
|
| - });
|
| + .catchError(completer.completeError);
|
| return completer.future;
|
| }
|
|
|
|
|