Files
kotlin-fork/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt
T

17 lines
215 B
Plaintext
Vendored

fun interface Foo {
abstract fun invoke(): String
}
fun foo(f: Foo): String {
return f.invoke()
}
fun test(): String {
return foo(f = local fun <anonymous>(): String {
return "OK"
}
/*-> Foo */)
}