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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.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_double.dart
diff --git a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart
index d06feed4e78f52e963f5c002a799a44a8179c57c..92af6c845b3f6fb347cebd6d831b9f2a4f2f8d92 100644
--- a/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart
+++ b/pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.dart
@@ -9,10 +9,10 @@ class C<T extends num> {
T a;
void op(double b) {
- double r1 = a /*@target=num::+*/ + b;
- double r2 = a /*@target=num::-*/ - b;
- double r3 = a /*@target=num::**/ * b;
- double r4 = a /*@target=num::/ */ / b;
+ double r1 = /*@target=C::a*/ a /*@target=num::+*/ + b;
+ double r2 = /*@target=C::a*/ a /*@target=num::-*/ - b;
+ double r3 = /*@target=C::a*/ a /*@target=num::**/ * b;
+ double r4 = /*@target=C::a*/ a /*@target=num::/ */ / b;
}
}

Powered by Google App Engine
This is Rietveld 408576698