[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:
@@ -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
|
||||
Reference in New Issue
Block a user