Index: sdk/lib/io/stdio.dart |
diff --git a/sdk/lib/io/stdio.dart b/sdk/lib/io/stdio.dart |
index 216ba381a28534ebd7f27bfba6617656ecd95bd4..5cad1f0c89139a4afa2d3b59d97e1ee575bbee70 100644 |
--- a/sdk/lib/io/stdio.dart |
+++ b/sdk/lib/io/stdio.dart |
@@ -39,7 +39,8 @@ class _StdSink implements IOSink { |
void write(object) => _sink.write(object); |
void writeln([object = "" ]) => _sink.writeln(object); |
void writeAll(objects, [sep = ""]) => _sink.writeAll(objects, sep); |
- void writeBytes(List<int> data) => _sink.writeBytes(data); |
+ void add(List<int> data) => _sink.add(data); |
+ void addError(AsyncError error) => _sink.addError(error); |
void writeCharCode(int charCode) => _sink.writeCharCode(charCode); |
Future consume(Stream<List<int>> stream) => _sink.consume(stream); |
Future addStream(Stream<List<int>> stream) => _sink.addStream(stream); |