Files
kotlin-fork/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt
T
2018-08-09 14:22:50 +03:00

6 lines
89 B
Kotlin
Vendored

inline fun foo(x: () -> String) = x()
fun String.id() = this
fun box() = foo("OK"::id)