Files
kotlin-fork/compiler/testData/debug/stepping/defaultParameter.kt
T

33 lines
686 B
Kotlin
Vendored

// FILE: test.kt
class A {
fun computeParam() = 32
fun foo(param: Int = computeParam()) {
}
}
fun box() {
A().foo()
}
// FORCE_STEP_INTO
// EXPECTATIONS JVM JVM_IR
// 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
// EXPECTATIONS JS_IR
// test.kt:11 box
// test.kt:11 box
// test.kt:6 protoOf.foo$default_ourpn2_k$
// test.kt:4 protoOf.computeParam_vubdyi_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$
// test.kt:6 protoOf.foo$default_ourpn2_k$