mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
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()
|
|
}
|
|
}
|
|
|