Debugger: Smart Step Into inside lambda suggests methods from outer context
#KT-10148 Fixed
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package smartStepIntoInsideLambda
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
// SMART_STEP_INTO_BY_INDEX: 1
|
||||
//Breakpoint! (lambdaOrdinal = 0)
|
||||
foo { bar() }
|
||||
}
|
||||
|
||||
fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
val a = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user