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

Unified Diff: pkg/front_end/testcases/inference/infer_binary_int_double.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_double.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_binary_int_double.dart.strong.expect b/pkg/front_end/testcases/inference/infer_binary_int_double.dart.strong.expect
new file mode 100644
index 0000000000000000000000000000000000000000..c85b938db2db9369dc33307f361c6d93f17ac064
--- /dev/null
+++ b/pkg/front_end/testcases/inference/infer_binary_int_double.dart.strong.expect
@@ -0,0 +1,30 @@
+library test;
+import self as self;
+import "dart:core" as core;
+
+static field core::bool a_equal = 1.{core::num::==}(2.0);
+static field core::bool a_notEqual = !1.{core::num::==}(2.0);
+static field core::double a_add = 1.{core::num::+}(2.0);
+static field core::double a_subtract = 1.{core::num::-}(2.0);
+static field core::double a_multiply = 1.{core::num::*}(2.0);
+static field core::double a_divide = 1.{core::num::/}(2.0);
+static field core::int a_floorDivide = 1.{core::num::~/}(2.0);
+static field core::bool a_greater = 1.{core::num::>}(2.0);
+static field core::bool a_less = 1.{core::num::<}(2.0);
+static field core::bool a_greaterEqual = 1.{core::num::>=}(2.0);
+static field core::bool a_lessEqual = 1.{core::num::<=}(2.0);
+static field core::double a_modulo = 1.{core::num::%}(2.0);
+static method main() → dynamic {
+ self::a_equal;
+ self::a_notEqual;
+ 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