Cast streams to correct types in IsolateChannel (dart-lang/stream_channel#31)
Fixes dart-lang/stream_channel#29
- Add a type on the IsolateChannel in one of the tests so that it
exhibits the problem when run in Dart 2 mode.
- Cast the streams coming from the ReceivePort instances to the
appropriate types since ReceivePort is always `Stream<dynamic>`.
- Remove the type on the subscription variable since it's a subscription
on a dynamic stream and otherwise would never have the correct type.
4 files changed
tree: 45dbd0097ecec8667a7d86fe9dc9d2458b00949a
- pkgs/