Skip to content

Conversation

jonludlam
Copy link
Member

Fixes #500 and a couple of other issues.

@jonludlam jonludlam force-pushed the more-module-type-of-fixes branch from 08b4900 to 67b8501 Compare October 24, 2020 21:56
Copy link
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good !

Is here remaining exceptions in Tools ? (eg. can exceptions from Cpath or Subst leaks from Tools ?)
Can we drop the remaining handling of exceptions ? tools.ml:904, ref_tools:131

When expanding `module type of` expressions we loop in case there's
a nested instance of one. This adds some logic to avoid looping if
there's no change in the signature, which can happen if the
unexpanded module type of expression is in a different module.

Signed-off-by: Jon Ludlam <jon@recoil.org>
Use the usual error types instead.

Fixes ocaml#500

Signed-off-by: Jon Ludlam <jon@recoil.org>
These tests target the issues fixed in the previous few commits.

Signed-off-by: Jon Ludlam <jon@recoil.org>
@jonludlam jonludlam force-pushed the more-module-type-of-fixes branch from 67b8501 to 3192488 Compare October 29, 2020 12:24
@jonludlam
Copy link
Member Author

good question - might be worth looking over this in a follow-up PR.

@jonludlam jonludlam merged commit f8fc892 into ocaml:master Oct 29, 2020
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.

Uncaught exception Odoc_xref2.Tools.UnexpandedTypeOf
2 participants