| 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);
|
| }
|
|
|