lwt icon indicating copy to clipboard operation
lwt copied to clipboard

Error: Unbound type constructor Result.result

Open yurivict opened this issue 4 years ago • 1 comments

File "src/core/lwt.mli", line 1566, characters 28-41:
1566 | type +'a result = ('a, exn) Result.result
                                   ^^^^^^^^^^^^^
Error: Unbound type constructor Result.result

Version: 5.4.2 ocaml-4.12.0 OS: FreeBSD 13

yurivict avatar Aug 30 '21 03:08 yurivict

I cannot reproduce on my machine (5.4.2, ocaml-4.12.0, linux). I doubt the OS would have an influence on that although I can't exclude it completely.

Did you get this error when building from opam or when building from the source directory?
Did you modify from 5.4.2? Did you modify the build files?
Does it compile if you modify Result.result to be Result.t?

raphael-proust avatar Sep 07 '21 06:09 raphael-proust