Files
2019-06-04 14:56:13 +02:00

12 lines
146 B
Kotlin
Vendored

// FILE: 1.kt
package test
inline fun foo(x: () -> String) = x()
fun String.id() = this
// FILE: 2.kt
import test.*
fun box() = foo("OK"::id)