You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 6, 2023. It is now read-only.
When a switch contains a case entry with the same value twice, only one the first on will be executed. So a warning in a static case would be nice.
And yes, I did basically that FeelsBadMan
*edit: Of course it won't only happen for literals
And the holy grail would be doing some static analysis to catch this:
The text was updated successfully, but these errors were encountered: