| Index: lib/src/util/stream_queue.dart
|
| diff --git a/lib/src/util/stream_queue.dart b/lib/src/util/stream_queue.dart
|
| index c37c2ca05d8072d780ae917ce0c70c9bfa930f6a..65c58b21bf615ebad109b9525b7c90905d00e169 100644
|
| --- a/lib/src/util/stream_queue.dart
|
| +++ b/lib/src/util/stream_queue.dart
|
| @@ -440,7 +440,7 @@ class _NextRequest<T> implements _EventRequest {
|
|
|
| void close(Queue<Result> events) {
|
| var errorFuture =
|
| - new Future.sync(() => throw new StateError("No elements"));
|
| + new Future<T>.sync(() => throw new StateError("No elements"));
|
| _completer.complete(errorFuture);
|
| }
|
| }
|
|
|