| Index: pkg/front_end/testcases/inference/future_then_5.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then_5.dart b/pkg/front_end/testcases/inference/future_then_5.dart
|
| index 9d2c94e667f445616eeab5f5f85cfbed6dc13a44..278faa74d1ef41bb0615059e77fb9bd26d2e86c4 100644
|
| --- a/pkg/front_end/testcases/inference/future_then_5.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then_5.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 MyFuture<int>.value(3);
|
| });
|
| }
|
| +
|
| +main() {}
|
|
|