Rework test for KT1119

This commit is contained in:
Pavel V. Talanov
2012-11-19 20:43:34 +04:00
parent 6017604e38
commit 7f617de8ac
@@ -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()