| Index: pkg/front_end/testcases/inference/future_union_downwards.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_union_downwards.dart b/pkg/front_end/testcases/inference/future_union_downwards.dart
|
| index b2c00fccf2c1c98d77d38f21e8664a93226ef621..fd3c9bed94646babb5180574e4e2bef3ed5428e0 100644
|
| --- a/pkg/front_end/testcases/inference/future_union_downwards.dart
|
| +++ b/pkg/front_end/testcases/inference/future_union_downwards.dart
|
| @@ -17,7 +17,7 @@ class MyFuture<T> implements Future<T> {
|
| MyFuture f;
|
| // Instantiates Future<int>
|
| Future<int> t1 = f.then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) =>
|
| - /*@typeArgs=int*/ new Future.value('hi'));
|
| + new /*@typeArgs=int*/ Future.value('hi'));
|
|
|
| // Instantiates List<int>
|
| Future<List<int>> t2 = f.then(
|
| @@ -27,6 +27,6 @@ Future<List<int>> g2() async {
|
| }
|
|
|
| Future<List<int>> g3() async {
|
| - return /*@typeArgs=List<int>*/ new Future.value(
|
| + return new /*@typeArgs=List<int>*/ Future.value(
|
| /*@typeArgs=int*/ [3]);
|
| }
|
|
|