Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix a wrong use of OpamFilename.of_string #6024

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

kit-ty-kate
Copy link
Member

Related to #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.

Copy link
Member

@dra27 dra27 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kit-ty-kate kit-ty-kate force-pushed the dummy-opam-filename-of-string branch from 5dba10d to 2b4dfdb Compare June 17, 2024 16:17
@kit-ty-kate kit-ty-kate added this to the 2.2.0~rc1 milestone Jun 17, 2024
@kit-ty-kate
Copy link
Member Author

Benchmark failed because of ocaml/ocaml#13237

@kit-ty-kate kit-ty-kate merged commit fd31f1e into ocaml:master Jun 18, 2024
28 of 29 checks passed
@kit-ty-kate kit-ty-kate deleted the dummy-opam-filename-of-string branch June 18, 2024 09:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants