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

Unified Diff: pkg/front_end/testcases/inference/infer_binary_custom.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_binary_custom.dart
diff --git a/pkg/front_end/testcases/inference/infer_binary_custom.dart b/pkg/front_end/testcases/inference/infer_binary_custom.dart
index 7ec16c9a78bdc26dad9b44682f029e2ef9687f73..30e7b6767f8e6798899bcd2dde25907387d800f2 100644
--- a/pkg/front_end/testcases/inference/infer_binary_custom.dart
+++ b/pkg/front_end/testcases/inference/infer_binary_custom.dart
@@ -10,8 +10,8 @@ class A {
double operator -(other) => 2.0;
}
-var /*@topType=int*/ v_add = new A() + 'foo';
-var /*@topType=double*/ v_minus = new A() - 'bar';
+var /*@topType=int*/ v_add = new A() /*@target=A::+*/ + 'foo';
+var /*@topType=double*/ v_minus = new A() /*@target=A::-*/ - 'bar';
main() {
v_add;

Powered by Google App Engine
This is Rietveld 408576698