| 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 5a7d5ee12d441c28c1e465780c5443358ac932b9..8ff534937f2cf927cf0d0833171e51c822a35fad 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
|
| @@ -8,12 +8,12 @@ library test;
|
| void main() {
|
| {
|
| T f<T>(T x) => null;
|
| - var /*@type=f(T x) → T*/ v1 = f;
|
| + var /*@type=f(T) -> T*/ v1 = f;
|
| v1 = /*@returnType=S*/ <S>(/*@type=S*/ x) => x;
|
| }
|
| {
|
| List<T> f<T>(T x) => null;
|
| - var /*@type=f(T x) → List<T>*/ v2 = f;
|
| + var /*@type=f(T) -> List<T>*/ v2 = f;
|
| v2 = /*@returnType=List<S>*/ <S>(/*@type=S*/ x) => /*@typeArgs=S*/ [x];
|
| Iterable<int> r = /*@promotedType=none*/ v2(42);
|
| Iterable<String> s = /*@promotedType=none*/ v2('hello');
|
|
|