Files
kotlin/compiler/testData/codegen/box/callableReference/bound/inline/simple.kt
2016-11-28 16:33:58 +03:00

6 lines
89 B
Kotlin
Vendored

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