Index: pkg/analyzer/test/src/context/mock_sdk.dart |
diff --git a/pkg/analyzer/test/src/context/mock_sdk.dart b/pkg/analyzer/test/src/context/mock_sdk.dart |
index ea2cdc27f9e3d3b7b5f823160f3a2b86726f7e68..3f0f5dd36af2ba93590f6edaae415a07d4e1df70 100644 |
--- a/pkg/analyzer/test/src/context/mock_sdk.dart |
+++ b/pkg/analyzer/test/src/context/mock_sdk.dart |
@@ -47,7 +47,7 @@ class Future<T> { |
static Future<List/*<T>*/> wait/*<T>*/( |
Iterable<Future/*<T>*/> futures) => null; |
- Future/*<R>*/ then/*<R>*/(onValue(T value)) => null; |
+ Future/*<R>*/ then/*<R>*/(FutureOr/*<R>*/ onValue(T value)) => null; |
Future<T> whenComplete(action()); |
} |