Closed jacquev6 closed 7 years ago
Hello,
When tag keep_docs (resp. keep_locs) is used, ocamlc -pack is called without -keep-docs (resp. -keep-locs) option.
keep_docs
keep_locs
ocamlc -pack
-keep-docs
-keep-locs
This gist is a minimal example showing the issue and proving that ocamlc -pack -keep-docs does keep the docs in the produced .mli file.
ocamlc -pack -keep-docs
.mli
I might dive into ocamlbuild to provide a fix for that, but I wanted to report it first, in case it's a one-hour fix for someone who knows how.
Thanks!
Thanks for the report -- nice issue number!
Hello,
When tag
keep_docs
(resp.keep_locs
) is used,ocamlc -pack
is called without-keep-docs
(resp.-keep-locs
) option.This gist is a minimal example showing the issue and proving that
ocamlc -pack -keep-docs
does keep the docs in the produced.mli
file.I might dive into ocamlbuild to provide a fix for that, but I wanted to report it first, in case it's a one-hour fix for someone who knows how.
Thanks!