Index: sdk/lib/isolate/isolate_stream.dart |
diff --git a/sdk/lib/isolate/isolate_stream.dart b/sdk/lib/isolate/isolate_stream.dart |
index 37db4e535d346b6e12bcae9c9c13615be3caed6d..3b660e2d3c5d5015717bc9dbd85b0bc645d855d9 100644 |
--- a/sdk/lib/isolate/isolate_stream.dart |
+++ b/sdk/lib/isolate/isolate_stream.dart |
@@ -77,7 +77,7 @@ class IsolateStream extends Stream<dynamic> { |
} |
StreamSubscription listen(void onData(event), |
- { void onError(AsyncError error), |
+ { void onError(error), |
void onDone(), |
bool unsubscribeOnError}) { |
return _controller.stream.listen(onData, |
@@ -114,7 +114,7 @@ abstract class IsolateSink extends EventSink<dynamic> { |
*/ |
void add(dynamic message); |
- void addError(AsyncError errorEvent); |
+ void addError(errorEvent); |
/** Closing multiple times is allowed. */ |
void close(); |