Files
kotlin-fork/compiler/testData/codegen/boxInline/smap/oneFile.kt
T
2019-09-06 09:19:57 +03:00

45 lines
434 B
Kotlin
Vendored

// IGNORE_BACKEND_MULTI_MODULE: JVM_IR
// FILE: 1.kt
package zzz
inline fun nothing() {}
// FILE: 2.kt
fun box(): String {
return test {
"K"
}
}
inline fun test(p: () -> String): String {
var pd = ""
pd = "O"
return pd + p()
}
// FILE: 1.smap
// FILE: 2.smap
//TODO should be empty
SMAP
2.kt
Kotlin
*S Kotlin
*F
+ 1 2.kt
_2Kt
*L
1#1,15:1
10#1,3:16
*E
*S KotlinDebug
*F
+ 1 2.kt
_2Kt
*L
4#1,3:16
*E