| Index: pkg/front_end/testcases/inference/future_then.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then.dart b/pkg/front_end/testcases/inference/future_then.dart
|
| index 2489672688f7aeec5d257a5289e8e3ba520d48a1..2a826ac9a8b003967c8b3f3e0acb0f5d0fe7a596 100644
|
| --- a/pkg/front_end/testcases/inference/future_then.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then.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() {
|
| MyFuture f;
|
| Future<int> t1 = f. /*@typeArgs=int*/ /*@target=MyFuture::then*/ then(
|
| /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async =>
|
| @@ -44,3 +44,5 @@ void main() {
|
| return new Future<int>.value(3);
|
| });
|
| }
|
| +
|
| +main() {}
|
|
|