You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and here is what I had to change to make test_ppx compile
diff --git a/tests_ppx/test_ppx.ml b/tests_ppx/test_ppx.ml
index 5dd3aec..e80a718 100644
--- a/tests_ppx/test_ppx.ml
+++ b/tests_ppx/test_ppx.ml
@@ -21,15 +21,15 @@ let init_dbh dbh =
)"]
module Userid: sig
- type t
+ type t = Int32.t
val to_string : t -> string
val from_string : string -> t
val to_int : t -> int
end = struct
- type t = int
- let to_string = string_of_int
- let from_string = int_of_string
- let to_int x = x
+ type t = Int32.t
+ let to_string = Int32.to_string
+ let from_string = Int32.of_string
+ let to_int = Int32.to_int
end
let employee_exists dbh ?email n =
Using
ocaml
4.09.0 fromopam
version 2.0.5 on debian buster, I had to make two changes.There's a typo in
src/genconfig.sh
: it should test for/var/run/postgresql
to be a directory instead of a file:and here is what I had to change to make
test_ppx
compileFinally, the
README.md
might want to point new users to https://camlspotter.gitlab.io/blog/2019-04-16-pgocaml/The text was updated successfully, but these errors were encountered: