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

Unified Diff: pkg/analyzer/lib/src/cancelable_future.dart

Issue 1153503005: Make analyzer DDC warning clean. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | pkg/analyzer/lib/src/context/cache.dart » ('j') | pkg/analyzer/lib/src/context/cache.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/cancelable_future.dart
diff --git a/pkg/analyzer/lib/src/cancelable_future.dart b/pkg/analyzer/lib/src/cancelable_future.dart
index c072be2a0aff2023d19ee3ae37e7de16da8f35fc..4ec7b269816dcb931b472ca8877bd26b470b4471 100644
--- a/pkg/analyzer/lib/src/cancelable_future.dart
+++ b/pkg/analyzer/lib/src/cancelable_future.dart
@@ -278,7 +278,7 @@ class _WrappedFuture<T> implements CancelableFuture<T> {
_WrappedFuture(this._future);
@override
- Stream asStream() => _future.asStream();
+ Stream<T> asStream() => _future.asStream();
@override
void cancel() {}
@@ -296,5 +296,5 @@ class _WrappedFuture<T> implements CancelableFuture<T> {
_future.timeout(timeLimit, onTimeout: onTimeout);
@override
- Future whenComplete(action()) => _future.whenComplete(action);
+ Future<T> whenComplete(action()) => _future.whenComplete(action);
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/context/cache.dart » ('j') | pkg/analyzer/lib/src/context/cache.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698