Commit 4a1fa6b
committed
datakit0-client: add lower bounds for Result
Otherwise it fails with:
```
#=== ERROR while compiling datakit-client.0.12.0 ==============================#
# context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.02.3 | pinned(https://github.com/moby/datakit/releases/download/0.12.0/datakit-0.12.0.tbz)
# path ~/.opam/4.02/.opam-switch/build/datakit-client.0.12.0
# command ~/.opam/opam-init/hooks/sandbox.sh build jbuilder build -p datakit-client -j 71
# exit-code 1
# env-file ~/.opam/log/datakit-client-7-f1cdc4.env
# output-file ~/.opam/log/datakit-client-7-f1cdc4.out
### output ###
# ocamldep api/ocaml/datakit_client.depends.ocamldep-output
# ocamldep api/ocaml/datakit_client.dependsi.ocamldep-output
# ocamlc api/ocaml/datakit_client.{cmi,cmti} (exit 2)
# (cd _build/default && /home/opam/.opam/4.02/bin/ocamlc.opt -w -40 -g -bin-annot -I /home/opam/.opam/4.02/lib/astring -I /home/opam/.opam/4.02/lib/bytes -I /home/opam/.opam/4.02/lib/cstruct -I /home/opam/.opam/4.02/lib/fmt -I /home/opam/.opam/4.02/lib/lwt -I /home/opam/.opam/4.02/lib/num -I /home/opam/.opam/4.02/lib/ocaml -I /home/opam/.opam/4.02/lib/ocaml/camlp4 -I /home/opam/.opam/4.02/lib/ocplib-endian -I /home/opam/.opam/4.02/lib/optcomp -I /home/opam/.opam/4.02/lib/sexplib -no-alias-deps -I api/ocaml -o api/ocaml/datakit_client.cmi -c -intf api/ocaml/datakit_client.mli)
# File "api/ocaml/datakit_client.mli", line 24, characters 7-13:
# Error: Unbound module Result
```1 parent b26b1d9 commit 4a1fa6b
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments