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

Unified Diff: pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.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
« no previous file with comments | « pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
diff --git a/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart b/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
index 1cd7e362f2254f217c548e1acef5fb1814e83d28..3598b65bca06eccb203f11ea0dc52d5dcfe43690 100644
--- a/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
+++ b/pkg/front_end/testcases/inference/lambda_does_not_have_propagated_type_hint.dart
@@ -9,7 +9,7 @@ List<String> getListOfString() => const <String>[];
void foo() {
List myList = getListOfString();
- myList. /*@typeArgs=int*/ /*@target=List::map*/ map(
+ myList. /*@typeArgs=int*/ /*@target=Iterable::map*/ map(
/*@returnType=int*/ (/*@type=dynamic*/ type) => 42);
}
« no previous file with comments | « pkg/front_end/testcases/inference/generic_methods_nested_generic_instantiation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698