Index: pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart |
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart b/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart |
index 7139558d348c0e87d23ec12b588a0162e5192d26..679d1f88702775fa64b15b5c504356d28d3ea4e8 100644 |
--- a/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart |
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_function_of_t_using_the_t.dart |
@@ -9,12 +9,12 @@ void main() { |
{ |
T f<T>(T x) => null; |
var /*@type=(T) -> T*/ v1 = f; |
- v1 = /*@returnType=S*/ <S>(/*@type=S*/ x) => x; |
+ v1 = <S> /*@returnType=S*/ (/*@type=S*/ x) => x; |
} |
{ |
List<T> f<T>(T x) => null; |
var /*@type=(T) -> List<T>*/ v2 = f; |
- v2 = /*@returnType=List<S>*/ <S>(/*@type=S*/ x) => /*@typeArgs=S*/ [x]; |
+ v2 = <S> /*@returnType=List<S>*/ (/*@type=S*/ x) => /*@typeArgs=S*/ [x]; |
Iterable<int> r = /*@typeArgs=int*/ v2(42); |
Iterable<String> s = /*@typeArgs=String*/ v2('hello'); |
Iterable<List<int>> t = /*@typeArgs=List<int>*/ v2(<int>[]); |