Debugger: fix step over inside inline function (do not step into function literal argument)
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package stepOverInsideInlineFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
bar {
|
||||
val b = 1
|
||||
}
|
||||
}
|
||||
|
||||
inline fun bar(f: (Int) -> Unit) {
|
||||
//Breakpoint!
|
||||
val a = 1
|
||||
val f = f(1)
|
||||
val c = 1
|
||||
}
|
||||
|
||||
// STEP_OVER: 3
|
||||
+1
-1
@@ -51,4 +51,4 @@ inline fun foo(f: () -> Int): Int {
|
||||
|
||||
fun test(i: Int) = 1
|
||||
|
||||
// STEP_OVER: 19
|
||||
// STEP_OVER: 20
|
||||
Reference in New Issue
Block a user