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

Unified Diff: sdk/lib/io/stdio.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/secure_socket.dart ('k') | sdk/lib/io/string_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/stdio.dart
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart
index 44088a31202778318346941bbb757d8d1f1d29b8..afa7ea013bb0fe8a9a123bb1393c75f39034a545 100644
--- a/sdk/lib/io/stdio.dart
+++ b/sdk/lib/io/stdio.dart
@@ -16,7 +16,7 @@ class _StdStream extends Stream<List<int>> {
_StdStream(Stream<List<int>> this._stream);
StreamSubscription<List<int>> listen(void onData(List<int> event),
- {void onError(AsyncError error),
+ {void onError(error),
void onDone(),
bool cancelOnError}) {
return _stream.listen(
@@ -40,7 +40,7 @@ class _StdSink implements IOSink {
void writeln([object = "" ]) => _sink.writeln(object);
void writeAll(objects, [sep = ""]) => _sink.writeAll(objects, sep);
void add(List<int> data) => _sink.add(data);
- void addError(AsyncError error) => _sink.addError(error);
+ void addError(error) => _sink.addError(error);
void writeCharCode(int charCode) => _sink.writeCharCode(charCode);
Future addStream(Stream<List<int>> stream) => _sink.addStream(stream);
Future close() => _sink.close();
« no previous file with comments | « sdk/lib/io/secure_socket.dart ('k') | sdk/lib/io/string_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698