| Index: pkg/front_end/testcases/inference/future_then_conditional_5.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_then_conditional_5.dart b/pkg/front_end/testcases/inference/future_then_conditional_5.dart
|
| index c615aec4e78b5cd92e91d1f760694bd6d7b99663..9a861a5c357e1a8e08ef80b8aaee672f1396adf6 100644
|
| --- a/pkg/front_end/testcases/inference/future_then_conditional_5.dart
|
| +++ b/pkg/front_end/testcases/inference/future_then_conditional_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<bool> f;
|
| Future<int> t1 = f. /*@typeArgs=int*/ /*@target=Future::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() {}
|
|
|