Files
kotlin-fork/compiler/testData/debug/stepping/simpleInlineDefaultArg.kt
T
Mads Ager 9fa1614903 [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.
2020-05-27 07:28:47 +02:00

18 lines
285 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// FILE: test.kt
inline fun alsoInline() = "OK"
inline fun ifoo(s: String = alsoInline()): String {
return s
}
fun box(): String {
return ifoo()
}
// LINENUMBERS
// test.kt:10 box
// test.kt:5 box
// test.kt:3 box
// test.kt:6 box
// test.kt:10 box