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 4ec7b269816dcb931b472ca8877bd26b470b4471..733cac55f9984e44680f5ab143087d4a75c08dce 100644 |
--- a/pkg/analyzer/lib/src/cancelable_future.dart |
+++ b/pkg/analyzer/lib/src/cancelable_future.dart |
@@ -259,8 +259,8 @@ class _CancelableCompleterFuture<T> implements CancelableFuture<T> { |
Future timeout(Duration timeLimit, {onTimeout()}) { |
// TODO(paulberry): Implement this in such a way that a timeout cancels |
// the future. |
- return _completer._outerCompleter.future.timeout(timeLimit, |
- onTimeout: onTimeout); |
+ return _completer._outerCompleter.future |
+ .timeout(timeLimit, onTimeout: onTimeout); |
} |
@override |