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

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

Issue 2949093002: Properly type infer for-in loops when the iterator type is a type parameter. (Closed)
Patch Set: Created 3 years, 6 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 3598b65bca06eccb203f11ea0dc52d5dcfe43690..6e3ee165b8d20603987829c936d7675ecaf4f5e7 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
@@ -23,3 +23,5 @@ void bar() {
/*info:DYNAMIC_INVOKE*/ list.map(
/*@returnType=String*/ (/*@type=dynamic*/ value) => '${value}');
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698