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

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

Issue 2868133002: Fix annotation of promoted parameters in Fasta inference tests. (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_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 3d1b5e7003eb2c1c81fd00d878e9b0356160413b..ad02989fc3a93c7caae275722a7ee617eefeae27 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 + b;
- T r2 = a - b;
- T r3 = a * b;
+ T r1 = a + /*@promotedType=none*/ b;
+ T r2 = a - /*@promotedType=none*/ b;
+ T r3 = a * /*@promotedType=none*/ b;
}
void opEq(T b) {
- a += b;
- a -= b;
- a *= b;
+ a += /*@promotedType=none*/ b;
+ a -= /*@promotedType=none*/ b;
+ a *= /*@promotedType=none*/ b;
}
}

Powered by Google App Engine
This is Rietveld 408576698