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

Aggregate "root" lookup failures #692

Merged
merged 1 commit into from
Jul 13, 2021
Merged

Conversation

Julow
Copy link
Collaborator

@Julow Julow commented Jun 23, 2021

Fixes #635

These errors are common and are usually repeated several time. With this commit, they are merged into one message with only the necessary informations:

File "<test>":
Couldn't find the following modules:
  Stdlib

I initially tried to handle these errors while resolving imports but it was showing mangled names (eg. Stdlib__bytes Stdlib__string ... instead of Stdlib) and unused modules (eg. CamlinternalFormatBasics) and decreased performances a bit.

@Julow Julow force-pushed the merge-root-errors2 branch from b35ebcc to 4c6208b Compare June 23, 2021 17:43
These errors are common and are usually repeated several time. With this
commit, they are merged into one message with only the necessary
informations:

    File "<test>":
    Couldn't find the following modules:
      Stdlib
@Julow Julow force-pushed the merge-root-errors2 branch from 4c6208b to 8d49488 Compare July 9, 2021 17:00
@jonludlam
Copy link
Member

Looking good!

@jonludlam jonludlam merged commit 9ca528a into ocaml:master Jul 13, 2021
jonludlam added a commit to jonludlam/opam-repository that referenced this pull request Oct 5, 2021
CHANGES:

Breaking changes
- Remove odoc-parser into a separate repository (@jonludlam, ocaml/odoc#700)

Additions
- OCaml 4.13 support (@Octachron, ocaml/odoc#687, ocaml/odoc#689)
- Better errors/warnings (@Julow, ocaml/odoc#692, ocaml/odoc#717, ocaml/odoc#720, ocaml/odoc#732)
- ModuleType 'Alias' support (@jonludlam, ocaml/odoc#703)
- Improved test suite (@lubega-simon, ocaml/odoc#697)
- Improved documentation (@lubega-simon, @jonludlam, ocaml/odoc#702, ocaml/odoc#733)
- Strengthen module types (@jonludlam, ocaml/odoc#731)

Bugs fixed
- `uwt` now can be documented (@jonludlam, ocaml/odoc#708)
- Fix resolution involving deeply nested substitutions (@jonludlam, ocaml/odoc#727)
- Fix off-by-one error in error reporting (@asavahista, ocaml/odoc#736)
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.

odoc too noisy on partial docsets
2 participants