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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart

Issue 2933663002: Annotate targets of implicit this property gets/sets in inference tests. (Closed)
Patch Set: Created 3 years, 6 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 d82b3f08f74ee8f40e2e902e475c605190244486..e85b749827ccaeb31193bcf44d149770cfbe2693 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,15 +9,15 @@ class C<T extends num> {
T a;
void op(int b) {
- T r1 = a /*@target=num::+*/ + b;
- T r2 = a /*@target=num::-*/ - b;
- T r3 = a /*@target=num::**/ * b;
+ T r1 = /*@target=C::a*/ a /*@target=num::+*/ + b;
+ T r2 = /*@target=C::a*/ a /*@target=num::-*/ - b;
+ T r3 = /*@target=C::a*/ a /*@target=num::**/ * b;
}
void opEq(int b) {
- a += b;
- a -= b;
- a *= b;
+ /*@target=C::a*/ a += b;
+ /*@target=C::a*/ a -= b;
+ /*@target=C::a*/ a *= b;
}
}

Powered by Google App Engine
This is Rietveld 408576698