Join Slack
Is there a reason why enum ranges are not exhaustive? Having to use the else branch results in error...
# compiler
j
Jokubas Alekna
08/19/2024, 12:18 PM
Is there a reason why enum ranges are not exhaustive? Having to use the else branch results in error prone code, as the compiler doesn't force you to add branches for newly added enum entries.
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by