File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -1060,9 +1060,10 @@ let maybe_zero_or_nan = function
1060
1060
| J. ENum n -> (
1061
1061
match J.Num. to_string n with
1062
1062
| "NaN" -> true
1063
- | "-0." | "0." | "0" | "0." -> true
1064
- | J. EBin ((J. Bor | J. Lsr ), _ , _ ) -> false
1065
- | _ -> true )
1063
+ | "-0." | "0." | "0" | "-0" -> true
1064
+ | _ -> false )
1065
+ | J. EBin ((J. Bor | J. Lsr ), _ , _ ) -> false
1066
+ | _ -> true
1066
1067
1067
1068
let rec translate_expr ctx queue loc x e level : _ * J.statement_list =
1068
1069
match e with
Original file line number Diff line number Diff line change @@ -81,13 +81,8 @@ let%expect_test "test-compiler/lib-effects/test1.ml" =
81
81
dummy,
82
82
function(_c_){
83
83
var _d_ = i + 1 | 0 ;
84
- <<<<<<< HEAD
85
- if (! Object. is(5 , i)) return caml_cps_exact_call1(_b_, _d_);
86
- caml_callback(g, [dummy]);
87
- =======
88
84
if (5 != = i) return caml_cps_exact_call1(_b_, _d_);
89
- caml_callback(g, [undef]);
90
- >>>>>>> 21 ff3c88d1 (fix)
85
+ caml_callback(g, [dummy]);
91
86
var Test = [0 ];
92
87
runtime.caml_register_global(2 , Test , " Test" );
93
88
});
You can’t perform that action at this time.
0 commit comments