[JVM] Port line number tests to stepping framework.
Allow specifying JVM and JVM_IR as well as shared expectations. Add the method name to the step. Discard steps in synthetic methods.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
"OK"
|
||||
fun bar() {
|
||||
"OK"
|
||||
}
|
||||
"OK"
|
||||
bar()
|
||||
"OK"
|
||||
}
|
||||
|
||||
// LINENUMBERS
|
||||
// test.kt:4 box
|
||||
// LINENUMBERS JVM
|
||||
// test.kt:5 box
|
||||
// LINENUMBERS
|
||||
// test.kt:8 box
|
||||
// test.kt:9 box
|
||||
// LINENUMBERS JVM
|
||||
// test.kt:6 invoke
|
||||
// test.kt:7 invoke
|
||||
// LINENUMBERS JVM_IR
|
||||
// test.kt:6 box$bar
|
||||
// test.kt:7 box$bar
|
||||
// LINENUMBERS
|
||||
// test.kt:10 box
|
||||
// test.kt:11 box
|
||||
Reference in New Issue
Block a user