Skip to content

Commit

Permalink
Push fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Aug 25, 2023
1 parent 3fe3ae3 commit 2ac47f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(synopsis "Rendering React components on the server natively")
(depends
;; General system dependencies
(ocaml (and (>= 4.12.0) (< 5.0.0)))
(ocaml (and (>= 4.12.0) (< 5.2.0)))
(reason (>= 3.8.1))
melange

Expand All @@ -41,6 +41,6 @@
(fmt :with-test)

;; Dev dependencies, using with-test so that consumers don't install them (until package is released in opam)
(ocamlformat (and (= 0.21.0) :with-test))
(ocamlformat :with-test)
(ocaml-lsp-server :with-test)
))
2 changes: 1 addition & 1 deletion packages/belt/src/belt_Array.ml
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ let unzip a =

let sliceToEnd a offset =
let lena = length a in
let ofs = if offset < 0 then Pervasives.max (lena + offset) 0 else offset in
let ofs = if offset < 0 then Stdlib.max (lena + offset) 0 else offset in
let len = if lena > ofs then lena - ofs else 0 in
Stdlib.Array.init len (fun i -> getUnsafe a (ofs + i))

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions server-reason-react.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage: "https://github.com/ml-in-barcelona/server-reason-react"
bug-reports: "https://github.com/ml-in-barcelona/server-reason-react/issues"
depends: [
"dune" {>= "3.8"}
"ocaml" {>= "4.12.0" & < "5.0.0"}
"ocaml" {>= "4.12.0" & < "5.2.0"}
"reason" {>= "3.8.1"}
"melange"
"ppxlib" {>= "0.23.0"}
Expand All @@ -19,7 +19,7 @@ depends: [
"alcotest" {with-test}
"alcotest-lwt" {with-test}
"fmt" {with-test}
"ocamlformat" {= "0.21.0" & with-test}
"ocamlformat" {with-test}
"ocaml-lsp-server" {with-test}
"odoc" {with-doc}
]
Expand Down

0 comments on commit 2ac47f0

Please sign in to comment.