| Index: sdk/lib/convert/utf.dart
|
| diff --git a/sdk/lib/convert/utf.dart b/sdk/lib/convert/utf.dart
|
| index e9a4aa894537432c2a693c1b46210370d0d8b316..2f92ef4dfc1ccd5afb3f773c91400dfee7da1640 100644
|
| --- a/sdk/lib/convert/utf.dart
|
| +++ b/sdk/lib/convert/utf.dart
|
| @@ -100,6 +100,9 @@ class Utf8Encoder extends Converter<String, List<int>> {
|
| }
|
| return new _Utf8EncoderSink(sink);
|
| }
|
| +
|
| + // Override the base-classes bind, to provide a better type.
|
| + Stream<List<int>> bind(Stream<String> stream) => super.bind(stream);
|
| }
|
|
|
| /**
|
| @@ -317,6 +320,9 @@ class Utf8Decoder extends Converter<List<int>, String> {
|
| }
|
| return stringSink.asUtf8Sink(_allowMalformed);
|
| }
|
| +
|
| + // Override the base-classes bind, to provide a better type.
|
| + Stream<String> bind(Stream<List<int>> stream) => super.bind(stream);
|
| }
|
|
|
| // UTF-8 constants.
|
|
|