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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_custom_unary_op_via_interface.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_custom_unary_op_via_interface.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_custom_unary_op_via_interface.dart b/pkg/front_end/testcases/inference/inferred_type_custom_unary_op_via_interface.dart
index d24b0db41a6e26fa959b74e866b1d91d7d5ab758..12894754427e78a016459d153e415f5c8b956d4d 100644
--- a/pkg/front_end/testcases/inference/inferred_type_custom_unary_op_via_interface.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_custom_unary_op_via_interface.dart
@@ -12,7 +12,7 @@ class I {
abstract class C implements I {}
C c;
-var /*@topType=bool*/ x = -c;
+var /*@topType=bool*/ x = /*@target=I::unary-*/ -c;
main() {
c;

Powered by Google App Engine
This is Rietveld 408576698