| Index: pkg/front_end/testcases/inference/future_then_conditional_4.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then_conditional_4.dart b/pkg/front_end/testcases/inference/future_then_conditional_4.dart
|
| index a791780b330069163b9969e89b66cb41fe07f03c..41b7a9b7a8f17ba4ff0e7d30a6c016a52a1e827b 100644
|
| --- a/pkg/front_end/testcases/inference/future_then_conditional_4.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then_conditional_4.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<bool> f;
|
| MyFuture<int> t1 = f. /*@typeArgs=int*/ /*@target=MyFuture::then*/ then(
|
| /*@returnType=Future<int>*/ (/*@type=bool*/ x) async =>
|
| @@ -34,3 +34,5 @@ void main() {
|
| return /*info:DOWN_CAST_COMPOSITE*/ x ? 2 : new MyFuture<int>.value(3);
|
| });
|
| }
|
| +
|
| +main() {}
|
|
|