1 2 3 4 5 6 7 8 9
enum class Enum(x: String) { A("a"), B("b"); val becameNullable: Any = x val unchanged: Any = x } fun Any.string() = this as String