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

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_no_return.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/block_bodied_lambdas_no_return.dart
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_no_return.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_no_return.dart
index 2d896d13a3b66ff117fbedc8bedf787bf28bec23..021cd28ab7907ee5370200960af14191108a480e 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_no_return.dart
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_no_return.dart
@@ -8,6 +8,6 @@ library test;
test1() {
List<int> o;
var /*@type=Iterable<Null>*/ y = /*@promotedType=none*/ o
- .map(/*@returnType=Null*/ (/*@type=int*/ x) {});
+ . /*@typeArgs=Null*/ map(/*@returnType=Null*/ (/*@type=int*/ x) {});
Iterable<int> z = /*@promotedType=none*/ y;
}

Powered by Google App Engine
This is Rietveld 408576698