| Index: lib/src/delegate/stream.dart
|
| diff --git a/lib/src/delegate/stream.dart b/lib/src/delegate/stream.dart
|
| index 75622187d252884d12587de21a0905dd08e2f7d0..3a08590d55d4fd797882a5a86d074b3163ccf4e5 100644
|
| --- a/lib/src/delegate/stream.dart
|
| +++ b/lib/src/delegate/stream.dart
|
| @@ -23,6 +23,7 @@ class DelegatingStream<T> extends StreamView<T> {
|
| /// original generic type, by asserting that its events are instances of `T`
|
| /// whenever they're provided. If they're not, the stream throws a
|
| /// [CastError].
|
| - static Stream/*<T>*/ typed/*<T>*/(Stream stream) =>
|
| - stream is Stream/*<T>*/ ? stream : new TypeSafeStream/*<T>*/(stream);
|
| + static Stream<T> typed<T>(Stream stream) => stream is Stream<T>
|
| + ? stream
|
| + : new TypeSafeStream<T>(stream);
|
| }
|
|
|