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 hangs when module references itself #7331

Closed
vicuna opened this Issue Aug 21, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@vicuna
Copy link
Collaborator

vicuna commented Aug 21, 2016

Original bug ID: 7331
Reporter: andy
Assigned to: @Octachron
Status: resolved (set by @Octachron on 2017-03-08T13:12:46Z)
Resolution: fixed
Priority: normal
Severity: major
Platform: x64
OS: Linux Mint
OS Version: 17.3
Version: 4.03.0
Target version: 4.06.0 +dev/beta1/beta2/rc1
Category: ocamldoc
Monitored by: @gasche

Bug description

The presence of the module rec M: sig ... end = M construct causes ocamldoc to hang.

Steps to reproduce

mkdir repro && cd repro
echo "module rec M: sig end = M" > main.ml
ocamldoc -html main.ml

It never finishes.

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Feb 24, 2017

Comment author: @alainfrisch

An infinite loop -- even in ocamldoc -- is not a minor issue, bumping severity.

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Mar 6, 2017

Comment author: @Octachron

I have proposed a fix for this infinite loop in #1085.

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Mar 8, 2017

Comment author: @Octachron

This issue has been fixed for OCaml >=4.05 by merging the above github PR.

@vicuna vicuna closed this Mar 8, 2017

@vicuna vicuna added the ocamldoc label Mar 14, 2019

@vicuna vicuna added this to the 4.06.0 milestone Mar 14, 2019

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.