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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_cascade.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/inferred_type_cascade.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_cascade.dart b/pkg/front_end/testcases/inference/inferred_type_cascade.dart
index 6918d1b2f24fd0b686987bc1bcb9ae2fa96ee9ec..51e5f78b68429672552deb06bbad6b046abb3d0a 100644
--- a/pkg/front_end/testcases/inference/inferred_type_cascade.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_cascade.dart
@@ -13,5 +13,5 @@ class A {
var /*@topType=A*/ v = new A()
..a = 1
- ..b.add(2)
- ..m();
+ ..b. /*@target=List::add*/ add(2)
+ .. /*@target=A::m*/ m();

Powered by Google App Engine
This is Rietveld 408576698