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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 static field core::bool a_equal = 1.{core::num::==}(2.0);
6 static field core::bool a_notEqual = !1.{core::num::==}(2.0);
7 static field core::double a_add = 1.{core::num::+}(2.0);
8 static field core::double a_subtract = 1.{core::num::-}(2.0);
9 static field core::double a_multiply = 1.{core::num::*}(2.0);
10 static field core::double a_divide = 1.{core::num::/}(2.0);
11 static field core::int a_floorDivide = 1.{core::num::~/}(2.0);
12 static field core::bool a_greater = 1.{core::num::>}(2.0);
13 static field core::bool a_less = 1.{core::num::<}(2.0);
14 static field core::bool a_greaterEqual = 1.{core::num::>=}(2.0);
15 static field core::bool a_lessEqual = 1.{core::num::<=}(2.0);
16 static field core::double a_modulo = 1.{core::num::%}(2.0);
17 static method main() → dynamic {
18 self::a_equal;
19 self::a_notEqual;
20 self::a_add;
21 self::a_subtract;
22 self::a_multiply;
23 self::a_divide;
24 self::a_floorDivide;
25 self::a_greater;
26 self::a_less;
27 self::a_greaterEqual;
28 self::a_lessEqual;
29 self::a_modulo;
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698