Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: pkg/front_end/testcases/inference/generic_methods_inference_error.dart

Issue 2884443002: Remove List.map from analyzer's mock SDK (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a3caf07436d17723744018ec7e59f94720d83672..b895855b9541ab74b52df6e24ba6a74f20caf1c1 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 = y. /*@typeArgs=String*/ /*@target=List::map*/ map(
+ Iterable<String> x = y. /*@typeArgs=String*/ /*@target=Iterable::map*/ map(
/*error:ARGUMENT_TYPE_NOT_ASSIGNABLE*/ /*@returnType=double*/ (String
z) =>
1.0);

Powered by Google App Engine
This is Rietveld 408576698