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 b51165a20b15ab5cf5ea6cdc2a74fe77f6e60cbb..491a51862e7f59799b84d8fc12f0545c88179954 100644 |
--- a/pkg/front_end/testcases/inference/generic_methods_inference_error.dart |
+++ b/pkg/front_end/testcases/inference/generic_methods_inference_error.dart |
@@ -7,7 +7,7 @@ library test; |
main() { |
List<String> y; |
- Iterable<String> x = /*@promotedType=none*/ y.map( |
+ Iterable<String> x = /*@promotedType=none*/ y. /*@typeArgs=String*/ map( |
/*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String |
z) => |
1.0); |