Yikes, maybe it's just not possible? Does it work ...
# announcements
k
Yikes, maybe it's just not possible? Does it work if your map can only contain a single enum type? Something like
Copy code
class MyClass<E: Enum<E>> {
    val map: Map<E, String> = mapOf()
}