Join Slack
Powered by
Is possible to do sealed interface? I think, It wi...
# language-proposals
a
ashushunov
02/27/2016, 4:40 PM
Is possible to do sealed interface? I think, It will be very convenient for data classes.
Copy code
sealed interface Animal { data class Dag() : Animal data class Cat() : Animal }
Open in Slack
Previous
Next