Mark linenumber in property reference
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package functionReference
|
||||
|
||||
fun test(s: () -> String) {
|
||||
s()
|
||||
}
|
||||
|
||||
fun a() = "OK"
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
//Breakpoint!
|
||||
test(::a)
|
||||
}
|
||||
// NB: stepping is not clear
|
||||
// STEP_INTO: 7
|
||||
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user