Closed dedbox closed 2 years ago
This appears to be more of a ppx_sexp_conv
error than a sexplib
error, since it's being reported in terms of invalid expression syntax in let rec
expressions. And it's not clear to me if the problem is ppx_sexp_conv
generating bad OCaml code, or ReasonML somehow not accepting its output. If you can report this issue on the ppx_sexp_conv
repository, and either reproduce it in OCaml or at least produce the output of the ppx, that would help a lot, thanks.
Hello, I'm working on the Hazel structure editor, a js_of_ocaml / incr_dom app written mostly in ReasonML, and am upgrading OCaml from 4.12 to 4.13.1 (hazelgrove/hazel#597). The opam process went smoothly enough, but compilation with
sexplib
(andsexplib0
andppx_sexp_conv
) at v0.15.0 fails:At the first source location:
The rest correspond to similar forms:
[@deriving sexp] type t = u and u = ...
whereu
is an identifier.Since there are no
let rec
s in or around the referenced locations, I'm guessing there's an issue withsexplib
orppx_sexp_conv
or something in between.Indeed, downgrading
sexplib
orsexplib0
to v0.14.0, orppx_sexp_conv
to v0.14.3, makes the errors go away, but downgrading any one also downgrades the others, so I'm not sure where to look next.Upgrading
sexplib0
andppx_sexp_conv
to v0.15.1 (withsexplib
at v0.15.0) has no effect - the compiler produces the same errors.