| Index: pkg/front_end/testcases/inference/future_union_async_conditional.dart
|
| diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart b/pkg/front_end/testcases/inference/future_union_async_conditional.dart
|
| index 3b9daf25f79c289fb6264fcb7a301a9f72ad6a88..17ccd5f5d5a49bc1ff0d81c6be8d5420213e2d9a 100644
|
| --- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart
|
| +++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart
|
| @@ -17,14 +17,14 @@ class MyFuture<T> implements Future<T> {
|
| Future<int> g1(bool x) async {
|
| return /*info:DOWN_CAST_COMPOSITE*/ x
|
| ? 42
|
| - : /*@typeArgs=int*/ new Future.value(42);
|
| + : new /*@typeArgs=int*/ Future.value(42);
|
| }
|
|
|
| Future<int> g2(bool x) async =>
|
| /*info:DOWN_CAST_COMPOSITE*/ x
|
| ? 42
|
| - : /*@typeArgs=int*/ new Future.value(42);
|
| + : new /*@typeArgs=int*/ Future.value(42);
|
| Future<int> g3(bool x) async {
|
| - var /*@type=Object*/ y = x ? 42 : /*@typeArgs=dynamic*/ new Future.value(42);
|
| + var /*@type=Object*/ y = x ? 42 : new /*@typeArgs=dynamic*/ Future.value(42);
|
| return /*info:DOWN_CAST_COMPOSITE*/ /*@promotedType=none*/ y;
|
| }
|
|
|