Ian
02/21/2017, 6:46 PMopen class Event(open val type : Int)
, and then I create a subclass that’s a data class, like data class BigEvent(override val type : Int) : Event(type)
, is it necessarily to respecify type
in the subclass constructor as I’ve done here, or could this be determined implicitly? Seems like unnecessary boilerplate