diff --git a/compiler/testData/codegen/regressions/kt1119.kt b/compiler/testData/codegen/regressions/kt1119.kt index 9c371666f30..d8dc6b70627 100644 --- a/compiler/testData/codegen/regressions/kt1119.kt +++ b/compiler/testData/codegen/regressions/kt1119.kt @@ -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()