Index: pkg/front_end/testcases/inference/future_union_downwards_3.dart |
diff --git a/pkg/front_end/testcases/inference/future_union_downwards_3.dart b/pkg/front_end/testcases/inference/future_union_downwards_3.dart |
index b84b84e97e12609d4055b9b9ef34d5f3a79a6190..4c3f6d6e3667b8bbbde823483810516f6b95f145 100644 |
--- a/pkg/front_end/testcases/inference/future_union_downwards_3.dart |
+++ b/pkg/front_end/testcases/inference/future_union_downwards_3.dart |
@@ -16,11 +16,12 @@ class MyFuture<T> implements Future<T> { |
Future f; |
// Instantiates Future<int> |
-Future<int> t1 = f.then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) => |
- new /*@typeArgs=int*/ Future.value('hi')); |
+Future<int> t1 = f. /*@typeArgs=int*/ then( |
+ /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) => |
+ new /*@typeArgs=int*/ Future.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]; |