Skip to content

Conversation

@adamshapiro0
Copy link
Collaborator

Returning after the switch has the same effect, but also causes a compiler warning if there's an enum value that is missing from the switch statement.

Copy link
Collaborator

@axlan axlan left a comment

Choose a reason for hiding this comment

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

LGTM

Returning after the switch has the same effect, but also causes a compiler
warning if there's an enum value that is missing from the switch statement.
@adamshapiro0 adamshapiro0 merged commit 1883571 into master Jul 14, 2025
13 checks passed
@adamshapiro0 adamshapiro0 deleted the to-string branch July 14, 2025 13:23
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.

2 participants