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

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

Issue 2867253004: Fix annotation of generic method invocations in Fasta inference tests. (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/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 ce6cb0fde1eb2b1bf1a2decb6ccb1154852c0b52..c6b98e79d70940923cccf05c3141c43547340182 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,8 +9,8 @@ List<String> getListOfString() => const <String>[];
void foo() {
List myList = getListOfString();
- /*@promotedType=none*/ myList
- .map(/*@returnType=int*/ (/*@type=dynamic*/ type) => 42);
+ /*@promotedType=none*/ myList. /*@typeArgs=int*/ map(
+ /*@returnType=int*/ (/*@type=dynamic*/ type) => 42);
}
void bar() {

Powered by Google App Engine
This is Rietveld 408576698