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

Unified Diff: pkg/front_end/testcases/inference/infer_binary_int_int.dart.strong.expect

Issue 2940703002: Fix top level type inference for binary operators. (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_int_int.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_binary_int_int.dart.strong.expect b/pkg/front_end/testcases/inference/infer_binary_int_int.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..58fb222608f6546cb2204e3fa2966be34d261974
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_binary_int_int.dart.strong.expect
@@ -0,0 +1,40 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field core::bool a_equal = 1.{core::num::==}(2);
+static field core::bool a_notEqual = !1.{core::num::==}(2);
+static field core::int a_bitXor = 1.{core::int::^}(2);
+static field core::int a_bitAnd = 1.{core::int::&}(2);
+static field core::int a_bitOr = 1.{core::int::|}(2);
+static field core::int a_bitShiftRight = 1.{core::int::>>}(2);
+static field core::int a_bitShiftLeft = 1.{core::int::<<}(2);
+static field core::int a_add = 1.{core::num::+}(2);
+static field core::int a_subtract = 1.{core::num::-}(2);
+static field core::int a_multiply = 1.{core::num::*}(2);
+static field core::double a_divide = 1.{core::num::/}(2);
+static field core::int a_floorDivide = 1.{core::num::~/}(2);
+static field core::bool a_greater = 1.{core::num::>}(2);
+static field core::bool a_less = 1.{core::num::<}(2);
+static field core::bool a_greaterEqual = 1.{core::num::>=}(2);
+static field core::bool a_lessEqual = 1.{core::num::<=}(2);
+static field core::int a_modulo = 1.{core::num::%}(2);
+static method main() → dynamic {
+ self::a_equal;
+ self::a_notEqual;
+ self::a_bitXor;
+ self::a_bitAnd;
+ self::a_bitOr;
+ self::a_bitShiftRight;
+ self::a_bitShiftLeft;
+ self::a_add;
+ self::a_subtract;
+ self::a_multiply;
+ self::a_divide;
+ self::a_floorDivide;
+ self::a_greater;
+ self::a_less;
+ self::a_greaterEqual;
+ self::a_lessEqual;
+ self::a_modulo;
+}

Powered by Google App Engine
This is Rietveld 408576698