mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
14 lines
210 B
Kotlin
Vendored
14 lines
210 B
Kotlin
Vendored
package test
|
|
|
|
fun concat(suffix: String, l: (s: String) -> Unit) {
|
|
l(suffix)
|
|
}
|
|
|
|
fun <T> noInlineFun(arg: T, f: (T) -> Unit) {
|
|
f(arg)
|
|
}
|
|
|
|
inline fun doSmth(a: String): String {
|
|
return a.toString()
|
|
}
|