Suggestion for the language

Yo !
why we cant do that ?

enum class State {
	A, B, C, D,;
}

With a function to get the current instance (like get and set)

What do you mean we can’t do that? This is a valid Kotlin code.

3 Likes