Index: sdk/lib/async/stream.dart |
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart |
index 4a3a0786f473a1132ca9f50bcf6f10bba5610dce..26343b69b35dee57f03ef60331b095f593b3825c 100644 |
--- a/sdk/lib/async/stream.dart |
+++ b/sdk/lib/async/stream.dart |
@@ -1314,7 +1314,8 @@ abstract class Stream<T> { |
// should be inferred. |
var registeredOnTimeout = |
zone.registerUnaryCallback<dynamic, EventSink<T>>(onTimeout); |
- var wrapper = new _ControllerEventSinkWrapper<T>(null); |
+ _ControllerEventSinkWrapper wrapper = |
+ new _ControllerEventSinkWrapper(null); |
timeout = () { |
wrapper._sink = controller; // Only valid during call. |
zone.runUnaryGuarded(registeredOnTimeout, wrapper); |