-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unbound type constructor Result.result #143
Comments
Not to complain about your suggestion (I think it would be a good idea to get rid of |
Thanks, I was not aware of this bug! |
The bug got fixed in dune and I still experience it.
|
Ok, I figured this out. The problem was that I assumend that "Result.result" comes from the "result" opam package while it was an internal module. This is the correct and full declaration that needs to go to the mli file: val ty_of_yojson : Yojson.Safe.t -> (ty, string) Ppx_deriving_runtime.Result.result
val ty_to_yojson : ty -> Yojson.Safe.t |
Trying to compile ppx_deriving_yojson v3.6.1 on FreeBSD, with OCaml 4.12.1 and dune 2.8.0 gives the following error:
This simple patch fixes it:
The text was updated successfully, but these errors were encountered: