Rework test for KT1119
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
enum class Direction() {
|
enum class Direction() {
|
||||||
NORTH {
|
NORTH {
|
||||||
val someSpecialValue = "OK"
|
val someSpecialValue = "OK"
|
||||||
|
|
||||||
|
override fun f() = someSpecialValue
|
||||||
}
|
}
|
||||||
|
|
||||||
SOUTH
|
|
||||||
WEST
|
abstract fun f():String
|
||||||
EAST
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun box() = Direction.NORTH.someSpecialValue
|
fun box() = Direction.NORTH.f()
|
||||||
|
|||||||
Reference in New Issue
Block a user