Files
kotlin-fork/js/js.translator/testData/inlineMultiFile/cases/closureChain/closureChain.2.kt
T
2014-10-03 14:23:47 +04:00

15 lines
291 B
Kotlin
Vendored

/*
* Copy of JVM-backend test
* Found at: compiler/testData/codegen/boxInline/complex/closureChain.2.kt
*/
package foo
class Inline() {
inline fun foo(closure1 : (l: Int) -> String, param: Int, closure2: String.() -> Int) : Int {
return closure1(param).closure2()
}
}