ocaml / opam

opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
https://opam.ocaml.org
Other
1.21k stars 348 forks source link

Fix a wrong use of OpamFilename.of_string #6024

Closed kit-ty-kate closed 2 weeks ago

kit-ty-kate commented 2 weeks ago

Related to https://github.com/ocaml/opam/pull/5822

This line of code defines a dummy default value to pass to the two pretty-printers below. However the OpamFilename.of_string function is going to try to expend this path as much as possible, which it should not do.

kit-ty-kate commented 2 weeks ago

Benchmark failed because of https://github.com/ocaml/ocaml/issues/13237