| 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 b895855b9541ab74b52df6e24ba6a74f20caf1c1..7973dbe926619f0e5c180818d59b91643407f9c4 100644
|
| --- a/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
|
| +++ b/pkg/front_end/testcases/inference/generic_methods_inference_error.dart
|
| @@ -5,10 +5,12 @@
|
| /*@testedFeatures=inference*/
|
| library test;
|
|
|
| -main() {
|
| +void f() {
|
| List<String> y;
|
| Iterable<String> x = y. /*@typeArgs=String*/ /*@target=Iterable::map*/ map(
|
| /*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String
|
| z) =>
|
| 1.0);
|
| }
|
| +
|
| +main() {}
|
|
|