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

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

Issue 2935763004: Implement type inference for "not" expressions. (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/infer_binary_double_int.dart
diff --git a/pkg/front_end/testcases/inference/infer_binary_double_int.dart b/pkg/front_end/testcases/inference/infer_binary_double_int.dart
index 3e466b1a151db12773f65e8e6ce8fab72f32f3b1..00d34202df38628b82931af751bc06c983225b53 100644
--- a/pkg/front_end/testcases/inference/infer_binary_double_int.dart
+++ b/pkg/front_end/testcases/inference/infer_binary_double_int.dart
@@ -17,3 +17,18 @@ var /*@topType=bool*/ a_less = 1.0 /*@target=num::<*/ < 2;
var /*@topType=bool*/ a_greaterEqual = 1.0 /*@target=num::>=*/ >= 2;
var /*@topType=bool*/ a_lessEqual = 1.0 /*@target=num::<=*/ <= 2;
var /*@topType=double*/ a_modulo = 1.0 /*@target=double::%*/ % 2;
+
+main() {
+ a_equal;
+ a_notEqual;
+ a_add;
+ a_subtract;
+ a_multiply;
+ a_divide;
+ a_floorDivide;
+ a_greater;
+ a_less;
+ a_greaterEqual;
+ a_lessEqual;
+ a_modulo;
+}

Powered by Google App Engine
This is Rietveld 408576698