| Index: pkg/front_end/testcases/inference/future_then_6.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then_6.dart b/pkg/front_end/testcases/inference/future_then_6.dart
|
| index ad4a53f2b16a767af0154ec0e9a57ecfcc30a81d..1aaeb016189222cf2741f3a6fd51a4b5cda3dcb9 100644
|
| --- a/pkg/front_end/testcases/inference/future_then_6.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then_6.dart
|
| @@ -14,7 +14,7 @@ class MyFuture<T> implements Future<T> {
|
| MyFuture<S> then<S>(FutureOr<S> f(T x), {Function onError}) => null;
|
| }
|
|
|
| -void main() {
|
| +void test() {
|
| Future f;
|
| Future<int> t1 = f. /*@typeArgs=int*/ /*@target=Future::then*/ then(
|
| /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async =>
|
| @@ -44,3 +44,5 @@ void main() {
|
| return new Future<int>.value(3);
|
| });
|
| }
|
| +
|
| +main() {}
|
|
|