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

Unified Diff: pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.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
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
index b6061bc0ca3727922b50644bafc64c652fe884cf..691f30f8d1dfe2f45630e4460c3f3d7c264e688d 100644
--- a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
@@ -9,6 +9,6 @@ class C {
double f(x) => 1.0;
}
-var /*@topType=double*/ v = new C().f(/*@returnType=int*/ () {
+var /*@topType=double*/ v = new C(). /*@target=C::f*/ f(/*@returnType=int*/ () {
return 1;
});
« no previous file with comments | « pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_implicit_type_param.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698