6 lines
80 B
Kotlin
Vendored
6 lines
80 B
Kotlin
Vendored
fun test(
|
|
val f: String.() -> Int = { length }
|
|
): Int {
|
|
return "".f()
|
|
}
|