Index: sdk/lib/io/stdio.dart |
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart |
index 766eee0b9b130c79f074cccf3ddab803f0c79eb3..073903dbfe2d3e8aab0d2961a7a62bfce5a3e759 100644 |
--- a/sdk/lib/io/stdio.dart |
+++ b/sdk/lib/io/stdio.dart |
@@ -17,7 +17,7 @@ class _StdStream extends Stream<List<int>> { |
_StdStream(Stream<List<int>> this._stream); |
StreamSubscription<List<int>> listen(void onData(List<int> event), |
- {void onError(error), |
+ {Function onError, |
void onDone(), |
bool cancelOnError}) { |
return _stream.listen( |