Files
kotlin-fork/compiler/testData/multiplatform/funInterfaces/common.kt
T
Mikhail Zarechenskiy d1a8f57740 Disable New Inference in JS backend
See #KT-37163 for details
2020-03-02 18:03:41 +03:00

13 lines
188 B
Kotlin
Vendored

// ADDITIONAL_COMPILER_ARGUMENTS: -Xnew-inference
package common
fun interface KRunnable {
fun invoke(): String
}
fun foo(k: KRunnable) = k.invoke()
fun test() {
foo { "OK" }
}