Files
kotlin-fork/idea/testData/debugger/tinyApp/src/evaluate/singleBreakpoint/kt12206BasePropertyWithoutBackingField.kt
T
2016-06-02 14:39:51 +03: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;