Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: lib/src/disconnector.dart

Issue 1966893002: Fix all strong-mode errors and warnings. (Closed) Base URL: git@github.com:dart-lang/stream_channel.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/isolate_channel.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/disconnector.dart
diff --git a/lib/src/disconnector.dart b/lib/src/disconnector.dart
index 35ecd1cc408305e34feec605e1251fced3747c38..beff71dd0e3e766562eb89535ab6e0855b5bc64a 100644
--- a/lib/src/disconnector.dart
+++ b/lib/src/disconnector.dart
@@ -38,7 +38,7 @@ class Disconnector<T> implements StreamChannelTransformer<T, T> {
StreamChannel<T> bind(StreamChannel<T> channel) {
return channel.changeSink((innerSink) {
- var sink = new _DisconnectorSink(innerSink);
+ var sink = new _DisconnectorSink<T>(innerSink);
if (_isDisconnected) {
sink._disconnect();
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/isolate_channel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698