The default case is executed when none of the specified cases in the switch statement match. This is particularly useful when switch fails to cover all the possible values, either because all the cases weren't specified or that the range of values was later expanded.
Occurrences
There is 1 occurrence of this issue in the repository.
Description
The
default
case is executed when none of the specified cases in theswitch
statement match. This is particularly useful whenswitch
fails to cover all the possible values, either because all the cases weren't specified or that the range of values was later expanded.Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/HEJOK254/Discord-QuickEdit/issue/CS-W1009/occurrences/