Skip to content
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

Ocamldoc: "Module or module type ?? not found" when including a functor application #5843

Closed
vicuna opened this issue Dec 4, 2012 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Dec 4, 2012

Original bug ID: 5843
Reporter: jpdeplaix
Assigned to: @zoggy
Status: assigned (set by jpdeplaix on 2012-12-04T22:31:23Z)
Resolution: open
Priority: normal
Severity: minor
Version: 4.00.0
Target version: later
Category: ocamldoc
Related to: #3947

Bug description

I'm trying to include a functor application when the functor is defined in the same module (otherwise it seems to work) and ocamldoc warns with:

Warning: Module or module type ?? not found

I've attached a test-case.

Steps to reproduce

ocamldoc -html ocamldoc.mli

File attachments

@vicuna
Copy link
Author

vicuna commented Aug 5, 2013

Comment author: @zoggy

This is due to the fact that ocamldoc does not support environments. Here the include requires to access the environment to be able to know the origin of the included module type.
This is a long-time missing analysis in ocamldoc, requiring quite a lot of work.

@vicuna vicuna mentioned this issue Mar 14, 2017
@vicuna vicuna added the bug label Mar 20, 2019
@github-actions
Copy link

This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.

@avsm
Copy link
Member

avsm commented Jun 22, 2020

For the record, this will be fixed comprehensively in odoc when ocaml/odoc#439 is merged and released. All functor applications should render correctly in the new model present in that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants