mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
22 lines
277 B
Kotlin
Vendored
22 lines
277 B
Kotlin
Vendored
fun box(): String {
|
|
return test {
|
|
"K"
|
|
}
|
|
}
|
|
|
|
inline fun test(p: () -> String): String {
|
|
var pd = ""
|
|
pd = "O"
|
|
return pd + p()
|
|
}
|
|
//TODO should be empty
|
|
//SMAP
|
|
//oneFile.1.kt
|
|
//Kotlin
|
|
//*S Kotlin
|
|
//*F
|
|
//+ 1 oneFile.1.kt
|
|
//OneFile_1Kt
|
|
//*L
|
|
//1#1,22:1
|
|
//*E |