14 lines
204 B
Kotlin
Vendored
14 lines
204 B
Kotlin
Vendored
package propertyReference
|
|
|
|
fun test(s: () -> String) {
|
|
s()
|
|
}
|
|
|
|
val a: String get() = "OK"
|
|
|
|
fun main(args: Array<String>) {
|
|
//Breakpoint!
|
|
test(::a)
|
|
}
|
|
// NB: stepping is not clear
|
|
// STEP_INTO: 7 |