Skip to content

Regression test for worse documentation result produced in bin-annot-cms mode#35

Merged
ncik-roberts merged 1 commit intomainfrom
ncik-roberts/worse-documentation-when-using-bin-annot-cms
Jan 4, 2024
Merged

Regression test for worse documentation result produced in bin-annot-cms mode#35
ncik-roberts merged 1 commit intomainfrom
ncik-roberts/worse-documentation-when-using-bin-annot-cms

Conversation

@ncik-roberts
Copy link
Copy Markdown
Contributor

@ncik-roberts ncik-roberts commented Jan 2, 2024

Cf. tests/test-dirs/document/module-doc.t, which has the good output.

Problem: requesting the documentation for a module from merlin produces a bad result ("No documentation available") even when the module has a top-level doc comment.

Two ingredients appear to be necessary:

  • The user wrote [@@@ocaml.doc "doc comment here"] instead of (** doc comment here *). (Or the user ran a ppx preprocessor.)
  • The user passes -bin-annot-cms to the compiler instead of -bin-annot.

Tracked in internal ticket 2135.

@ncik-roberts
Copy link
Copy Markdown
Contributor Author

This test will change output when we import oxcaml/oxcaml#2206

@ncik-roberts ncik-roberts deleted the ncik-roberts/worse-documentation-when-using-bin-annot-cms branch January 4, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants