Files
kotlin-fork/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.kt
T
2019-10-08 19:13:55 +09:00

17 lines
306 B
Kotlin
Vendored

package kt12206BasePropertyWithoutBackingField
abstract class Base {
val prop: String?
get() = "OK"
}
class Derived : Base()
fun main(args: Array<String>) {
val d = Derived()
//Breakpoint!
d.prop // <-- breakpoint here
}
// EXPRESSION: d.prop
// RESULT: "OK": Ljava/lang/String;