Files
kotlin-fork/compiler/testData/codegen/boxInline/smap/oneFile.kt
T
Michael Bogdanov ff820bddc0 New source mapping
2016-04-20 17:07:06 +03:00

37 lines
348 B
Kotlin
Vendored

// 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