| Index: pkg/front_end/testcases/inference/generic_methods_downwards_inference_affects_arguments.dart
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_downwards_inference_affects_arguments.dart b/pkg/front_end/testcases/inference/generic_methods_downwards_inference_affects_arguments.dart
|
| index 2147c2ad994ae19fdc80449668497cfee47c7ad5..e347512ef3490bf828efa60e12cd628e6d21f066 100644
|
| --- a/pkg/front_end/testcases/inference/generic_methods_downwards_inference_affects_arguments.dart
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_downwards_inference_affects_arguments.dart
|
| @@ -7,7 +7,8 @@ library test;
|
|
|
| T f<T>(List<T> s) => null;
|
| main() {
|
| - String x = f(/*@typeArgs=String*/ ['hi']);
|
| + String x = /*@typeArgs=String*/ f(/*@typeArgs=String*/ ['hi']);
|
| String y =
|
| - f(/*@typeArgs=String*/ [/*error:LIST_ELEMENT_TYPE_NOT_ASSIGNABLE*/ 42]);
|
| + /*@typeArgs=String*/ f(
|
| + /*@typeArgs=String*/ [/*error:LIST_ELEMENT_TYPE_NOT_ASSIGNABLE*/ 42]);
|
| }
|
|
|