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

Remove all the shady Option.value_exn in lib.ml #2090

Merged
merged 3 commits into from
Apr 30, 2019

Conversation

rgrinberg
Copy link
Member

Can we get @TheLortex as a reviewer on this?

@vsiles could you confirm this fixes your bug? #2085

Copy link
Collaborator

@TheLortex TheLortex left a comment

Choose a reason for hiding this comment

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

Except for my comment, it looks good to me ! Thank you for this, indeed removing that db traveling around feels nicer.

src/lib.ml Show resolved Hide resolved
Copy link
Collaborator

@TheLortex TheLortex left a comment

Choose a reason for hiding this comment

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

Except for my comment, it looks good to me ! Thank you for this, indeed removing that db traveling around feels nicer.

@vsiles
Copy link
Contributor

vsiles commented Apr 29, 2019

@rgrinberg I tested with your fork and I no longer have the internal error.

@rgrinberg
Copy link
Member Author

@TheLortex I've amended the fix to consider dbs recursively

@rgrinberg rgrinberg merged commit 49d9384 into ocaml:master Apr 30, 2019
@rgrinberg rgrinberg deleted the remove-db-value-exn branch April 30, 2019 09:45
rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request May 2, 2019
CHANGES:

- Put back library variants in development mode. We discovered a
  serious unexpected issue and we might need to adjust the design of
  this feature before we are ready to commit to a final version. Users
  will need to write `(using library_variants 0.1)` in their
  `dune-project` file if they want to use it before the design is
  finalized. (ocaml/dune#2116, @diml)

- Forbid to attach a variant to a library that implements a virtual
  library outside the current project (ocaml/dune#2104, @rgrinberg)

- Fix a bug where `dune install` would install man pages to incorrect
  paths when compared to `opam-installer`. For example dune now
  installs `(foo.1 as man1/foo.1)` correctly and previously that was
  installed to `man1/man1/foo.1`. (ocaml/dune#2105, @aalekseyev)

- Do not fail when a findlib directory doesn't exist (ocaml/dune#2101, fix ocaml/dune#2099, @diml)

- [coq] Rename `(coqlib ...)` to `(coq.theory ...)`, support for
  `coqlib` will be dropped in the 1.0 version of the Coq language
  (ocaml/dune#2055, @ejgallego)

- Fix crash when calculating library dependency closure (ocaml/dune#2090, fixes ocaml/dune#2085,
  @rgrinberg)
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.

3 participants