Re:JEP draft: Exception handling in switch
by wiseowise on Friday April 19, 2024 @06:24PM
(#40092595)
What are you talking about? You literally can with sealed classes.
[ Parent
| on HN ]
I'm talking about the fact that every function call in Kotlin can return an exception (and it will always be undeclared, because Kotlin doesn't have checked exceptions)
this has nothing to do with sealed classes