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

Unified Diff: pkg/front_end/testcases/inference/infer_prefix_expression.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_prefix_expression.dart
diff --git a/pkg/front_end/testcases/inference/infer_prefix_expression.dart b/pkg/front_end/testcases/inference/infer_prefix_expression.dart
index dfdc1faab0a6056498fe548db9528f7481f28ef9..8a028116c8b091433b4626c7e37d1b97c72ebca6 100644
--- a/pkg/front_end/testcases/inference/infer_prefix_expression.dart
+++ b/pkg/front_end/testcases/inference/infer_prefix_expression.dart
@@ -6,5 +6,5 @@
library test;
var /*@topType=bool*/ a_not = !true;
-var /*@topType=int*/ a_complement = ~1;
-var /*@topType=int*/ a_negate = -1;
+var /*@topType=int*/ a_complement = /*@target=int::~*/ ~1;
+var /*@topType=int*/ a_negate = /*@target=int::unary-*/ -1;

Powered by Google App Engine
This is Rietveld 408576698