| Index: pkg/front_end/testcases/inference/future_then_2.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then_2.dart b/pkg/front_end/testcases/inference/future_then_2.dart
|
| index 32cd95ad347efee661d9c4398b15493c0fb3258c..45feb51df7335a08f0fbe5b07ce36c332ea74023 100644
|
| --- a/pkg/front_end/testcases/inference/future_then_2.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then_2.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 MyFuture<int>.value(3);
|
| });
|
| }
|
| +
|
| +main() {}
|
|
|