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

Unified Diff: pkg/front_end/testcases/inference/refine_binary_expression_type_type_parameter_t_double.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_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 2ed98b8cac7794994d0ee5baab19b3d79f151532..2123a7f86ea1f82b5116d616cccbe13f910e3103 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 + b;
- double r2 = a - b;
- double r3 = a * b;
- double r4 = a / b;
+ double r1 = a + /*@promotedType=none*/ b;
+ double r2 = a - /*@promotedType=none*/ b;
+ double r3 = a * /*@promotedType=none*/ b;
+ double r4 = a / /*@promotedType=none*/ b;
}
}

Powered by Google App Engine
This is Rietveld 408576698