8 lines
167 B
Kotlin
8 lines
167 B
Kotlin
class Inline() {
|
|
|
|
inline fun foo(closure1 : (l: Int) -> String, param: Int, closure2: String.() -> Int) : Int {
|
|
return closure1(param).closure2()
|
|
}
|
|
}
|
|
|