Skip to content

[Chore] Remove deprecation notice from QCheck2.Gen.add_shrink_invariant#395

Merged
jmid merged 2 commits intoc-cube:mainfrom
jmid:keep-add-shrink-invariant
Dec 19, 2025
Merged

[Chore] Remove deprecation notice from QCheck2.Gen.add_shrink_invariant#395
jmid merged 2 commits intoc-cube:mainfrom
jmid:keep-add-shrink-invariant

Conversation

@jmid
Copy link
Collaborator

@jmid jmid commented Dec 19, 2025

4 years ago in #109 a deprecation notice was added to
QCheck2.Gen.add_shrink_invariant. We haven't heard much feedback from users since.

https://sherlocode.com/?q=add_shrink_invariant shows one usage occurrence in Tezos.

This small PR therefore goes for keeping the function and removing the deprecation notice, for consistency.

@jmid jmid merged commit ddfca51 into c-cube:main Dec 19, 2025
24 checks passed
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