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

Apply suggestions for zipOrAccumulate #2920

Merged
merged 2 commits into from
Feb 6, 2023

Conversation

serras
Copy link
Member

@serras serras commented Feb 6, 2023

This PR applies the suggestions by @nomisRev in #2919, which I merged too quickly 😅

@serras serras added the 1.2.0 Tickets belonging to 1.1.2 label Feb 6, 2023
@serras serras requested review from nomisRev and a team February 6, 2023 16:07
@serras serras self-assigned this Feb 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

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

Changes to Raise look perfect 🙌
I am a bit confused by the unrelated change in Either.kt. Did this slip in?

Comment on lines +36 to +39
contract {
callsInPlace(action1, InvocationKind.EXACTLY_ONCE)
callsInPlace(action2, InvocationKind.EXACTLY_ONCE)
}
Copy link
Member

Choose a reason for hiding this comment

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

Right, now we can also add contract 🥳

Copy link
Member Author

Choose a reason for hiding this comment

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

I think 50% of the code starts with callsInPlace xD

Copy link
Member

@nomisRev nomisRev left a comment

Choose a reason for hiding this comment

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

Thank you @serras 🙏 🙌

@nomisRev nomisRev requested a review from a team February 6, 2023 18:18
@nomisRev nomisRev merged commit 547c17d into main Feb 6, 2023
@nomisRev nomisRev deleted the as-backport-zipOrAccumulate-suggestions branch February 6, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.2.0 Tickets belonging to 1.1.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants