Add test for KT-44074
#KT-44074
This commit is contained in:
+5
@@ -483,6 +483,11 @@ public class IrKotlinSteppingTestGenerated extends AbstractIrKotlinSteppingTest
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt24343.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44074.kt")
|
||||
public void testKt44074() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt44074.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaToInlineFold.kt")
|
||||
public void testLambdaToInlineFold() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/lambdaToInlineFold.kt");
|
||||
|
||||
+5
@@ -483,6 +483,11 @@ public class KotlinSteppingTestGenerated extends AbstractKotlinSteppingTest {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt24343.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt44074.kt")
|
||||
public void testKt44074() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/kt44074.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaToInlineFold.kt")
|
||||
public void testLambdaToInlineFold() throws Exception {
|
||||
runTest("idea/jvm-debugger/jvm-debugger-test/testData/stepping/stepOver/lambdaToInlineFold.kt");
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package test
|
||||
|
||||
fun main() {
|
||||
val toSet = setOf<Int>()
|
||||
val clusterToReports = toSet.groupBy { it }
|
||||
val updatedClusters = mutableListOf<Int>()
|
||||
//Breakpoint!
|
||||
updatedClusters.addAll(clusterToReports.map { it.value[0] }) // step over here
|
||||
test(updatedClusters)
|
||||
}
|
||||
|
||||
fun test(a: Any) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
LineBreakpoint created at kt44074.kt:8
|
||||
Run Java
|
||||
Connected to the target VM
|
||||
kt44074.kt:8
|
||||
kt44074.kt:9
|
||||
Disconnected from the target VM
|
||||
|
||||
Process finished with exit code 0
|
||||
Reference in New Issue
Block a user