Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(879)

Unified Diff: sdk/lib/io/io_sink.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/io_sink.dart
diff --git a/sdk/lib/io/io_sink.dart b/sdk/lib/io/io_sink.dart
index 0f955b329be0033dbf869f900e7500471626a5dc..8001905509676c265355189d1ecebed38dac85ef 100644
--- a/sdk/lib/io/io_sink.dart
+++ b/sdk/lib/io/io_sink.dart
@@ -33,7 +33,7 @@ abstract class IOSink implements StreamSink<List<int>>, StringSink {
/**
* Writes an error to the consumer.
*/
- void addError(AsyncError error);
+ void addError(error);
/**
* Adds all elements of the given [stream] to `this`.
@@ -123,7 +123,7 @@ class _IOSinkImpl implements IOSink {
_controller.add(data);
}
- void addError(AsyncError error) {
+ void addError(error) {
_controller.addError(error);
}
« no previous file with comments | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698