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: 6758 Reporter: maro Assigned to: @damiendoligez Status: closed (set by @damiendoligez on 2015-04-30T19:53:38Z) Resolution: fixed Priority: normal Severity: minor Platform: x86-64 OS: Linux Mint OS Version: 17 Version: 4.02.1 Target version: 4.02.2+dev / +rc1 Fixed in version: 4.02.2+dev / +rc1 Category: ocamldoc Monitored by: @gasche "Julien Signoles" prevosto @yakobowski
When launching ocamldoc on files which use some specific forms of module inclusion and/or aliases, ocamldoc fails with the following message:
analyse_module: parsetree and typedtree don't match.
The following example code should trigger the error:
module H = Set.Make(struct type t = int let compare = Pervasives.compare end) module I = H module J = Set.Make(I)
It is often possible to sidestep the issue by removing/modifying module aliases in the affected files.
The text was updated successfully, but these errors were encountered:
Comment author: Julien Signoles
It is a regression since OCaml 4.02. It was working with prior OCaml versions.
Sorry, something went wrong.
Comment author: @damiendoligez
I think I fixed this (branch 4.02, commit 15974).
Please test and tell me if this fixes your problem.
Comment author: maro
Indeed, I just compiled from git (commit b026c27) and in my original test case everything seems to work now. Thank you!
damiendoligez
No branches or pull requests
Original bug ID: 6758
Reporter: maro
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2015-04-30T19:53:38Z)
Resolution: fixed
Priority: normal
Severity: minor
Platform: x86-64
OS: Linux Mint
OS Version: 17
Version: 4.02.1
Target version: 4.02.2+dev / +rc1
Fixed in version: 4.02.2+dev / +rc1
Category: ocamldoc
Monitored by: @gasche "Julien Signoles" prevosto @yakobowski
Bug description
When launching ocamldoc on files which use some specific forms of module inclusion and/or aliases, ocamldoc fails with the following message:
analyse_module: parsetree and typedtree don't match.
Steps to reproduce
The following example code should trigger the error:
module H = Set.Make(struct type t = int let compare = Pervasives.compare end)
module I = H
module J = Set.Make(I)
Additional information
It is often possible to sidestep the issue by removing/modifying module aliases in the affected files.
The text was updated successfully, but these errors were encountered: