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