We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Original bug ID: 7607 Reporter: kosik Assigned to: @Octachron Status: resolved (set by @Octachron on 2017-08-17T13:23:03Z) Resolution: duplicate Priority: normal Severity: minor Version: 4.05.0 Category: ocamldoc Duplicate of: #7606
If I have "a.mli" file with the following contents:
module D : B.C
and a "b.mli" file with the following contents:
include sig module type C = sig end end
then both files compile fine:
ocamlfind c -bin-annot -o b.cmi b.mli ocamlfind c -bin-annot -o a.cmi a.mli
However, when I try to use ocamldoc like this:
ocamlfind doc -html a.mli b.mli
I get the following warning:
Warning: Module type B.C not found Warning: Module or module type ?? not found Warning: Module type B.C not found
I am guessing that this is an unexpected behavior (since both files are valid and compilable).
tar xvzf 1.tar.gz cd 1 make
The text was updated successfully, but these errors were encountered:
Comment author: @Octachron
This is essentially a duplicate of #7606, and a result of ocamldoc partial handling of include statement (and environment).
Sorry, something went wrong.
Octachron
No branches or pull requests
Original bug ID: 7607
Reporter: kosik
Assigned to: @Octachron
Status: resolved (set by @Octachron on 2017-08-17T13:23:03Z)
Resolution: duplicate
Priority: normal
Severity: minor
Version: 4.05.0
Category: ocamldoc
Duplicate of: #7606
Bug description
If I have "a.mli" file with the following contents:
module D : B.C
and a "b.mli" file with the following contents:
include
sig
module type C = sig end
end
then both files compile fine:
ocamlfind c -bin-annot -o b.cmi b.mli
ocamlfind c -bin-annot -o a.cmi a.mli
However, when I try to use ocamldoc like this:
ocamlfind doc -html a.mli b.mli
I get the following warning:
Warning: Module type B.C not found
Warning: Module or module type ?? not found
Warning: Module type B.C not found
I am guessing that this is an unexpected behavior
(since both files are valid and compilable).
Steps to reproduce
tar xvzf 1.tar.gz
cd 1
make
File attachments
The text was updated successfully, but these errors were encountered: