| Index: pkg/front_end/testcases/inference/future_union_downwards_4.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_union_downwards_4.dart b/pkg/front_end/testcases/inference/future_union_downwards_4.dart
|
| index 3765bb73eacbffc3f61e20b255f970ed7928a7ca..da6d18ac6f813b7414efd1bde1f1fbba9661cf98 100644
|
| --- a/pkg/front_end/testcases/inference/future_union_downwards_4.dart
|
| +++ b/pkg/front_end/testcases/inference/future_union_downwards_4.dart
|
| @@ -16,11 +16,12 @@ class MyFuture<T> implements Future<T> {
|
|
|
| Future f;
|
| // Instantiates Future<int>
|
| -Future<int> t1 = f.then(/*@returnType=MyFuture<int>*/ (/*@type=dynamic*/ _) =>
|
| - new /*@typeArgs=int*/ MyFuture.value('hi'));
|
| +Future<int> t1 = f. /*@typeArgs=int*/ then(
|
| + /*@returnType=MyFuture<int>*/ (/*@type=dynamic*/ _) =>
|
| + new /*@typeArgs=int*/ MyFuture.value('hi'));
|
|
|
| // Instantiates List<int>
|
| -Future<List<int>> t2 = f.then(
|
| +Future<List<int>> t2 = f. /*@typeArgs=List<int>*/ then(
|
| /*@returnType=List<int>*/ (/*@type=dynamic*/ _) => /*@typeArgs=int*/ [3]);
|
| Future<List<int>> g2() async {
|
| return /*@typeArgs=int*/ [3];
|
|
|