[JVM] Extend stepping tests with <clinit> stepping.

In addition, made the stepping information for constructor calls
consistent across JVM_IR and JVM. For JVM_IR that stepping behavior
is consistent for enum constructor calls in <clinit> for JVM it
is not.
This commit is contained in:
Mads Ager
2020-06-24 17:06:50 +02:00
committed by max-kammerer
parent 2693664aa7
commit c3b5b21845
8 changed files with 131 additions and 14 deletions
+33
View File
@@ -0,0 +1,33 @@
// FILE: test.kt
class A(val x: Int)
fun box() {
A(1)
A(
2
)
A(3
)
A(
4)
}
// LINENUMBERS
// test.kt:6 box
// test.kt:3 <init>
// test.kt:6 box
// test.kt:7 box
// test.kt:8 box
// test.kt:7 box
// test.kt:3 <init>
// test.kt:7 box
// test.kt:10 box
// test.kt:3 <init>
// test.kt:10 box
// test.kt:12 box
// test.kt:13 box
// test.kt:12 box
// test.kt:3 <init>
// test.kt:12 box
// test.kt:14 box