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
I am not so sure about this. Switch is order sensetive, and this move could potentially change the logic by a lot. personally, I don't think it's a common case where you write switch with orthogonal logic while having so many cases to sort.
Maybe if the rule is limited to static identifiers and forbids falling-through cases (only aliases, like the file in the first message) it might be safe
Clear and concise description of the problem
Hey there, I'm back with another suggestion:
/// keep-sorted
forswitch
statements. The idea comes from this fileSuggested solution
Basic
Complex/weird
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: