Mark linenumber in property reference

This commit is contained in:
Michael Bogdanov
2016-08-22 15:20:55 +03:00
parent b4ae70139a
commit 237afb4b7c
6 changed files with 70 additions and 2 deletions
@@ -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