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

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

Issue 2874033003: Set MethodInvocation.interfaceTarget during type inference. (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 453564a8eafacde562434bc01b532fb387da3e54..fe6e180b1246a988b4185f9ab97da65e4b520ea5 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,9 +7,9 @@ library test;
List<String> strings() {
var /*@type=Iterable<String>*/ stuff = /*@typeArgs=dynamic*/ []
- . /*@typeArgs=String*/ expand(
+ . /*@typeArgs=String*/ /*@target=Iterable::expand*/ expand(
/*@returnType=List<String>*/ (/*@type=dynamic*/ i) {
return <String>[];
});
- return /*@promotedType=none*/ stuff.toList();
+ return /*@promotedType=none*/ stuff. /*@target=Iterable::toList*/ toList();
}

Powered by Google App Engine
This is Rietveld 408576698