andreworobator
10/10/2017, 2:16 PMsealed class Foo {
abstract val bar: String // Error: property must be initialized
}
I’m aiming to have all subclasses of Foo be forced to have an implementation of bar
https://kotlinlang.org/docs/reference/sealed-classes.html