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

Mark Statement as non-exhaustive enum #71

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Conversation

jwhb
Copy link
Member

@jwhb jwhb commented Oct 21, 2024

Introducing non-exhaustive mark to Statement enum avoids future breaking changes when statements are added by forcing users to add a wildcard arm to match on statement.

Proposed in #70.

non-exhaustive avoids future breaking changes when statements are added
by forcing users to add a wildcard arm to match on statement.
@jwhb jwhb added the enhancement New feature or request label Oct 21, 2024
@jwhb jwhb added this to the v0.5.0 milestone Oct 21, 2024
@jwhb jwhb self-assigned this Oct 21, 2024
@jwhb jwhb requested a review from JKRhb October 21, 2024 10:17
@jwhb jwhb merged commit d1cfedd into main Oct 21, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants