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

Unified Diff: pkg/front_end/testcases/inference/infer_return_of_statement_lambda.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/infer_return_of_statement_lambda.dart
diff --git a/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart b/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart
index a30ced3e337db68f4a9d1a009b04bc8c7abff873..453564a8eafacde562434bc01b532fb387da3e54 100644
--- a/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart
+++ b/pkg/front_end/testcases/inference/infer_return_of_statement_lambda.dart
@@ -7,7 +7,8 @@ library test;
List<String> strings() {
var /*@type=Iterable<String>*/ stuff = /*@typeArgs=dynamic*/ []
- .expand(/*@returnType=List<String>*/ (/*@type=dynamic*/ i) {
+ . /*@typeArgs=String*/ expand(
+ /*@returnType=List<String>*/ (/*@type=dynamic*/ i) {
return <String>[];
});
return /*@promotedType=none*/ stuff.toList();

Powered by Google App Engine
This is Rietveld 408576698