5e27d9b089
The JVM BE inlines calls to the underlying function in a $default stub verbatim, e.g., without renaming LVT entries or regenerating anonymous objects. This commit introduces the same behavior in the JVM IR BE. Fixes KT-36769.
24 lines
322 B
Kotlin
Vendored
24 lines
322 B
Kotlin
Vendored
// FILE: test.kt
|
|
|
|
fun box() {
|
|
foo()
|
|
bar()
|
|
}
|
|
|
|
fun foo(i: Int = 1) {
|
|
}
|
|
|
|
inline fun bar(i: Int = 1) {
|
|
}
|
|
|
|
// FORCE_STEP_INTO
|
|
// LINENUMBERS
|
|
// test.kt:4 box
|
|
// test.kt:8 foo$default (synthetic)
|
|
// test.kt:9 foo
|
|
// test.kt:8 foo$default (synthetic)
|
|
// test.kt:5 box
|
|
// test.kt:11 box
|
|
// test.kt:12 box
|
|
// test.kt:6 box
|