Stdlib rename: 'name' and 'ordinal' are now properties in Enum, same name functions are deprecated
This commit is contained in:
+1
-1
@@ -3,4 +3,4 @@ enum class State {
|
||||
K
|
||||
}
|
||||
|
||||
fun box() = "${State.O.name()}${State.K.name()}"
|
||||
fun box() = "${State.O.name}${State.K.name}"
|
||||
|
||||
Reference in New Issue
Block a user