Mark line numbers for bridges in closures
This commit is contained in:
@@ -4,7 +4,8 @@ fun main(args: Array<String>) {
|
||||
val d: Base<String> = Derived()
|
||||
//Breakpoint!
|
||||
d.foo("")
|
||||
val a = 1
|
||||
A().test()
|
||||
A.test()
|
||||
}
|
||||
|
||||
open class Base<T> {
|
||||
@@ -19,4 +20,28 @@ class Derived: Base<String>() {
|
||||
}
|
||||
}
|
||||
|
||||
// STEP_INTO: 4
|
||||
class A {
|
||||
fun test() {
|
||||
lambda {
|
||||
val a = 1
|
||||
}
|
||||
}
|
||||
|
||||
fun lambda(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
class object {
|
||||
fun test() {
|
||||
lambda {
|
||||
val a = 1
|
||||
}
|
||||
}
|
||||
|
||||
fun lambda(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STEP_INTO: 24
|
||||
Reference in New Issue
Block a user