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

Unified Diff: pkg/front_end/testcases/inference/infer_use_of_void.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_use_of_void.dart
diff --git a/pkg/front_end/testcases/inference/infer_use_of_void.dart b/pkg/front_end/testcases/inference/infer_use_of_void.dart
index 3f851dc9380136f903e42d24818a5c7105b28458..383de3109597e9ea00f7621a2164be2d6e477682 100644
--- a/pkg/front_end/testcases/inference/infer_use_of_void.dart
+++ b/pkg/front_end/testcases/inference/infer_use_of_void.dart
@@ -13,7 +13,8 @@ class C extends B {
f() {}
}
-var /*@topType=dynamic*/ x = new C(). /*info:USE_OF_VOID_RESULT*/ f();
+var /*@topType=dynamic*/ x =
+ new C(). /*info:USE_OF_VOID_RESULT*/ /*@target=C::f*/ f();
main() {
x;

Powered by Google App Engine
This is Rietveld 408576698