Skip to content

Omit tests of Weak.get_copy - #586

Merged
jmid merged 2 commits into
mainfrom
weak-get_copy-adjust
Oct 11, 2026
Merged

jmid merged 2 commits into
mainfrom
weak-get_copy-adjust

Conversation

@jmid

@jmid jmid commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

On trunk (5.7) and the new 5.6 branch ocaml/ocaml#15064 Weak.get_copy is now considered dangerous, triggers a deprecation error, and instead just calls Weak.get.

With that in mind, there seems little point in continuing to hammer it in PBTs, so this PR omits the function from the Lin and STM tests of Weak.

@jmid

jmid commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator Author

This gets the test suite green again on trunk as intended.
I'll file a separate PR to fix the opam installation workflow.

@jmid
jmid merged commit a8ace3e into main Oct 11, 2026
50 of 51 checks passed
@jmid
jmid deleted the weak-get_copy-adjust branch October 11, 2026 16:31
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.

1 participant