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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.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/refine_binary_expression_type_type_parameter_t_int.dart
diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart
index 9102f6f2197f67d4912e699dac4de85db50db383..5df33844b50614d39fcb247651fc3c546bfdf480 100644
--- a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart
+++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart
@@ -9,9 +9,9 @@ class C<T extends num> {
T a;
void op(int b) {
- T r1 = a + /*@promotedType=none*/ b;
- T r2 = a - /*@promotedType=none*/ b;
- T r3 = a * /*@promotedType=none*/ b;
+ T r1 = a /*@target=num::+*/ + /*@promotedType=none*/ b;
+ T r2 = a /*@target=num::-*/ - /*@promotedType=none*/ b;
+ T r3 = a /*@target=num::**/ * /*@promotedType=none*/ b;
}
void opEq(int b) {

Powered by Google App Engine
This is Rietveld 408576698