| Index: lib/src/delegate/sink.dart
|
| diff --git a/lib/src/delegate/sink.dart b/lib/src/delegate/sink.dart
|
| index 326c15bdb649fe07a45e99e9984831498e60d6eb..9fa115b9d43ff55708e259094018b493f463bb5b 100644
|
| --- a/lib/src/delegate/sink.dart
|
| +++ b/lib/src/delegate/sink.dart
|
| @@ -20,8 +20,9 @@ class DelegatingSink<T> implements Sink<T> {
|
| /// instance of `Sink`, not `Sink<T>`. This means that calls to [add] may
|
| /// throw a [CastError] if the argument type doesn't match the reified type of
|
| /// [sink].
|
| - static Sink/*<T>*/ typed/*<T>*/(Sink sink) =>
|
| - sink is Sink/*<T>*/ ? sink : new DelegatingSink._(sink);
|
| + static Sink<T> typed<T>(Sink sink) => sink is Sink<T>
|
| + ? sink
|
| + : new DelegatingSink._(sink);
|
|
|
| void add(T data) {
|
| _sink.add(data);
|
|
|