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

Unified Diff: lib/src/util/stream_queue.dart

Issue 2745253004: Add type info to fix analyzer failure, missed this one change in previous cl (Closed)
Patch Set: address comments Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698