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

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.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/block_bodied_lambdas_nested_lambdas.dart
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart
index ca6503cb51a8a4d0091386150df0d2cd2678c5b5..3253b8ac5c295be70ea24436c6384ebb923da95d 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_nested_lambdas.dart
@@ -8,7 +8,7 @@ library test;
main() {
var /*@type=() -> (int) -> double*/ f = /*@returnType=(int) -> double*/ () {
return /*@returnType=double*/ (int x) {
- return 2.0 * /*@promotedType=none*/ x;
+ return 2.0 /*@target=double::**/ * /*@promotedType=none*/ x;
};
};
}

Powered by Google App Engine
This is Rietveld 408576698