[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,24 @@
|
||||
// FILE: test.kt
|
||||
|
||||
class A {
|
||||
fun computeParam() = 32
|
||||
|
||||
fun foo(param: Int = computeParam()) {
|
||||
}
|
||||
}
|
||||
|
||||
fun box() {
|
||||
A().foo()
|
||||
}
|
||||
|
||||
// FORCE_STEP_INTO
|
||||
// LINENUMBERS
|
||||
// test.kt:11 box
|
||||
// test.kt:3 <init>
|
||||
// test.kt:11 box
|
||||
// test.kt:6 foo$default (synthetic)
|
||||
// test.kt:4 computeParam
|
||||
// test.kt:6 foo$default (synthetic)
|
||||
// test.kt:7 foo
|
||||
// test.kt:6 foo$default (synthetic)
|
||||
// test.kt:12 box
|
||||
Reference in New Issue
Block a user