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

remove default and manage all cases with switch statement. #519

Open
fujitatomoya opened this issue Oct 17, 2024 · 0 comments
Open

remove default and manage all cases with switch statement. #519

fujitatomoya opened this issue Oct 17, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@fujitatomoya
Copy link
Contributor

This is not a bug, follow up from #518 (review)

Description

Having default in the switch statement can prevent developers to realize the case.
e.g) #518 (review)

We can manage all cases in the statement, so that we will not miss the case by compiler notification.

@fujitatomoya fujitatomoya added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant