Fix breakpoints for the same inline function nested calls (KT-22366)
This commit changes the format of the synthetic local variables for inline functions.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package kt22366
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
val yy = (0 .. 10).map { a ->
|
||||
//Breakpoint! (lambdaOrdinal = -1)
|
||||
(0 .. 10).map { b -> b }.max()
|
||||
}
|
||||
}
|
||||
|
||||
// EXPRESSION: a
|
||||
// RESULT: 0: I
|
||||
|
||||
// EXPRESSION: b
|
||||
// RESULT: Unresolved reference: b
|
||||
@@ -0,0 +1,18 @@
|
||||
LineBreakpoint created at kt22366.kt:6 lambdaOrdinal = -1
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
kt22366.kt:6
|
||||
Compile bytecode for a
|
||||
kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
resuming kt22366.kt:6
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user