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

implement returns clause #1283

Merged
merged 1 commit into from
Oct 12, 2024
Merged

implement returns clause #1283

merged 1 commit into from
Oct 12, 2024

Conversation

tjhance
Copy link
Collaborator

@tjhance tjhance commented Sep 26, 2024

This has been a planned feature for a while.

This PR implements it as sugar for an extra ensures-clause. Integration with when_used_as_spec is planned for the future

@parno
Copy link
Collaborator

parno commented Sep 26, 2024

Can you add something to the tutorial to document the new feature? We talked about a number of different options in the discussion (#851)

@tjhance tjhance merged commit 5a1545e into main Oct 12, 2024
10 checks passed
@tjhance tjhance deleted the returns branch October 12, 2024 01:32
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.

3 participants