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

Regression: ocamldoc lost unattached comment #6926

Closed
vicuna opened this issue Jul 10, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Jul 10, 2015

Original bug ID: 6926
Reporter: bobot
Status: closed (set by @damiendoligez on 2015-07-21T14:46:58Z)
Resolution: fixed
Priority: high
Severity: major
Version: 4.02.2
Target version: 4.02.3+dev
Fixed in version: 4.02.3+dev
Category: ocamldoc
Monitored by: @dbuenzli @yakobowski

Bug description

ocamldoc -html toto.mli, with toto.mli being:

(** ICI *)

type t = int

(** la *)

type t2 = int

produces in 4.02.1:

module Toto: sig .. end
ICI
type t = int 

la
type t2 = int 

and in 4.02.2:

module Toto: sig .. end
ICI
type t = int 

type t2 = int 

"la" disappeared

Additional information

Doesn't append if the types are recursive and the comment enclosed inside them.

@vicuna

This comment has been minimized.

Copy link
Author

commented Jul 17, 2015

Comment author: @dbuenzli

This is quite bad as it drops all sectional headings of the form (** {1 Heading} *).

See e.g. dbuenzli/xmlm#10

@vicuna

This comment has been minimized.

Copy link
Author

commented Jul 21, 2015

Comment author: @damiendoligez

Fixed in branch 4.02 (rev 16229)

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.