Join Slack
Powered by
Yikes, maybe it's just not possible? Does it work ...
# announcements
k
karelpeeters
09/17/2017, 8:41 AM
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() }
Open in Slack
Previous
Next