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

Cleanup OpamStd of duplicated functions that already exist in Stdlib #6442

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Mar 30, 2025

Queued on #6444
Queued on #6394
Requires ocaml-opam/opam-rt#84

A little spring cleaning

@kit-ty-kate kit-ty-kate added this to the 2.4.0~alpha1 milestone Mar 30, 2025
@kit-ty-kate kit-ty-kate requested a review from rjbou March 30, 2025 15:57
@kit-ty-kate kit-ty-kate force-pushed the upgrade-to-ocaml-4.08-stdlib branch from b38f27d to c592209 Compare March 30, 2025 16:19
@kit-ty-kate kit-ty-kate added the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Mar 30, 2025
@kit-ty-kate kit-ty-kate force-pushed the upgrade-to-ocaml-4.08-stdlib branch from c592209 to 20f6dce Compare March 30, 2025 16:55
@kit-ty-kate kit-ty-kate force-pushed the upgrade-to-ocaml-4.08-stdlib branch from 20f6dce to 3be9b6e Compare March 31, 2025 13:26
@kit-ty-kate kit-ty-kate removed the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Mar 31, 2025
@@ -71,7 +71,7 @@ let rec print_env output = function
| [] -> ()
| (k, v, comment) :: r ->
if OpamConsole.verbose () then
OpamStd.Option.iter (Printf.ksprintf output ": %s;\n") comment;
Stdlib.Option.iter (Printf.ksprintf output ": %s;\n") comment;
Copy link
Member Author

Choose a reason for hiding this comment

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

Side note for reviewers: explicit uses of Stdlib is required in opam-client and opam-solver because extlib (used via dose3) shadows the standard library module

kit-ty-kate added a commit to kit-ty-kate/opam-rt that referenced this pull request Mar 31, 2025
@kit-ty-kate kit-ty-kate added the PR: QUEUED Pending pull request, waiting for other work to be merged or closed label Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: QUEUED Pending pull request, waiting for other work to be merged or closed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant