lupajz
sealed class Kat { object Fluffy : Kat() object Fluffier : Kat() } fun funny() { val l = listOf(Kat.Fluffy, Kat.Fluffier) // List<Kat> }