Fix step over if there isn't any inlined arguments
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package stepOverSimpleFun
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
foo(1)
|
||||
val a = 1
|
||||
}
|
||||
|
||||
fun foo(i: Int): Int {
|
||||
if (i > 0) {
|
||||
//Breakpoint!
|
||||
return 1
|
||||
}
|
||||
return 1
|
||||
}
|
||||
|
||||
// Do not remove: kotlin strata should be available for this test
|
||||
inline fun f(p: () -> Unit) {
|
||||
val b = 1
|
||||
p()
|
||||
}
|
||||
|
||||
fun f2() {
|
||||
f {
|
||||
val b = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user