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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.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
« no previous file with comments | « pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart
diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart
index dee3c112f32661426bf8ef58d9ff8d0c722872d2..60ab287de0aea7d6b9571c6bf11cb2aa1a49831f 100644
--- a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart
+++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_t.dart
@@ -9,15 +9,15 @@ class C<T extends num> {
T a;
void op(T 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(T b) {
- a += b;
- a -= b;
- a *= b;
+ /*@target=C::a*/ a += b;
+ /*@target=C::a*/ a -= b;
+ /*@target=C::a*/ a *= b;
}
}
« no previous file with comments | « pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_int.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698