Skip to content

Commit

Permalink
change ocaml version to no-naked-pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Keryan-dev committed Mar 21, 2024
1 parent 9898a65 commit 4f129bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
markup
num
(ocaml (>= 4.08))
ocaml-option-nnp
(ocamlformat (and :dev (= 0.24.1)))
ounit
ppx_blob
Expand Down
1 change: 1 addition & 0 deletions geneweb.opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ depends: [
"markup"
"num"
"ocaml" {>= "4.08"}
"ocaml-option-nnp"
"ocamlformat" {dev & = "0.24.1"}
"ounit"
"ppx_blob"
Expand Down
4 changes: 2 additions & 2 deletions lib/gwdb-legacy/iovalue.ml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ let rec output_loop ofuns oc x =
else if Obj.tag x = Obj.abstract_tag then failwith "Iovalue.output <abstract>"
else if Obj.tag x = Obj.infix_tag then failwith "Iovalue.output: <infix>"
else if Obj.tag x = Obj.custom_tag then failwith "Iovalue.output: <custom>"
else if Obj.tag x = Obj.out_of_heap_tag then
failwith "Iovalue.output: abstract value (outside heap)"
(* else if Obj.tag x = Obj.out_of_heap_tag then *)
(* failwith "Iovalue.output: abstract value (outside heap)" *)
else (
gen_output_block_header ofuns oc (Obj.tag x) (Obj.size x);
(* last case of "for" separated, to make more tail recursive cases
Expand Down

0 comments on commit 4f129bf

Please sign in to comment.