Files
kotlin-fork/compiler/testData/diagnostics/tests/funInterface/funInterfaceConversionOnReceiver.fir.kt
T

10 lines
162 B
Kotlin
Vendored

fun interface Bar {
fun invoke(): String
}
operator fun Bar.plus(b: Bar): String = invoke() + b.invoke()
fun box(): String {
return { "O" } + { "K" }
}