Index: sdk/lib/io/io_sink.dart |
diff --git a/sdk/lib/io/io_sink.dart b/sdk/lib/io/io_sink.dart |
index ace6f92f696f5e1e56ae1c01f18cf24d8269aed7..9bc3bacf67c49d2def7d38e604c258d94683aa27 100644 |
--- a/sdk/lib/io/io_sink.dart |
+++ b/sdk/lib/io/io_sink.dart |
@@ -177,7 +177,7 @@ class _IOSinkImpl<T> implements IOSink<T> { |
_controller.close(); |
} |
}, |
- onError: _controller.signalError); |
+ onError: _controller.addError); |
if (_paused) _pause(); |
if (unbind) { |
_pipeFuture |