Join Slack
Powered by
Well, it's not that compiler doesn't see anything....
# announcements
r
r4zzz4k
12/18/2017, 11:24 PM
Well, it's not that compiler doesn't see anything. Sealed class is basically just general open class with limits to where it can be extended and special treatment in
when
. If you replace
sealed
with
open
, you'll probably see that you really don't need
Result
and
Error
to be generics, do you?
4
Views
Open in Slack
Previous
Next