Skip to content

Commit 5718569

Browse files
committed
turn int64 record into array
1 parent c29ad69 commit 5718569

File tree

3 files changed

+177
-177
lines changed

3 files changed

+177
-177
lines changed

jscomp/runtime/caml_int64.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let ( & ) = Caml_nativeint_extern.logand
4343
let ( << ) = Caml_nativeint_extern.shift_left
4444
let lognot x = Caml_nativeint_extern.logxor x (-1n)
4545

46-
type t = { hi : nativeint; lo : nativeint ; }
46+
type t = { hi : nativeint ; [@bs.as "0"] lo : nativeint ; [@bs.as "1" ] }
4747

4848
external unsafe_to_int64 : t -> int64 = "%identity"
4949
external unsafe_of_int64 : int64 -> t = "%identity"

0 commit comments

Comments
 (0)