Index: pkg/front_end/testcases/inference/future_then_6.dart |
diff --git a/pkg/front_end/testcases/inference/future_then_6.dart b/pkg/front_end/testcases/inference/future_then_6.dart |
index 0396a26a37014bb4dddd30c31a775bd8a2c3a52b..d345bb026c8d8d875ac08d32ca6557f079a9957a 100644 |
--- a/pkg/front_end/testcases/inference/future_then_6.dart |
+++ b/pkg/front_end/testcases/inference/future_then_6.dart |
@@ -16,31 +16,31 @@ class MyFuture<T> implements Future<T> { |
void main() { |
Future f; |
- Future<int> t1 = /*@promotedType=none*/ f.then( |
+ Future<int> t1 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async => |
await new Future<int>.value(3)); |
- Future<int> t2 = /*@promotedType=none*/ f |
- .then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async { |
+ Future<int> t2 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
+ /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async { |
return await new Future<int>.value(3); |
}); |
- Future<int> t3 = /*@promotedType=none*/ f |
- .then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async => 3); |
- Future<int> t4 = /*@promotedType=none*/ f |
- .then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async { |
+ Future<int> t3 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
+ /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async => 3); |
+ Future<int> t4 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
+ /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async { |
return 3; |
}); |
- Future<int> t5 = /*@promotedType=none*/ f.then( |
+ Future<int> t5 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) => |
new Future<int>.value(3)); |
- Future<int> t6 = /*@promotedType=none*/ f |
- .then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) { |
+ Future<int> t6 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
+ /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) { |
return new Future<int>.value(3); |
}); |
- Future<int> t7 = /*@promotedType=none*/ f.then( |
+ Future<int> t7 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async => |
new Future<int>.value(3)); |
- Future<int> t8 = /*@promotedType=none*/ f |
- .then(/*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async { |
+ Future<int> t8 = /*@promotedType=none*/ f. /*@typeArgs=int*/ then( |
+ /*@returnType=Future<int>*/ (/*@type=dynamic*/ _) async { |
return new Future<int>.value(3); |
}); |
} |