| Index: pkg/front_end/testcases/inference/generic_methods_inference_error.dart
|
| diff --git a/pkg/front_end/testcases/inference/generic_methods_inference_error.dart b/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
|
| index e0650140c14197ceb753ec1baeacffe70c9c90a2..a3caf07436d17723744018ec7e59f94720d83672 100644
|
| --- a/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
|
| @@ -7,9 +7,8 @@ library test;
|
|
|
| main() {
|
| List<String> y;
|
| - Iterable<String> x = /*@promotedType=none*/ y
|
| - . /*@typeArgs=String*/ /*@target=List::map*/ map(
|
| - /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String
|
| - z) =>
|
| - 1.0);
|
| + Iterable<String> x = y. /*@typeArgs=String*/ /*@target=List::map*/ map(
|
| + /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String
|
| + z) =>
|
| + 1.0);
|
| }
|
|
|