6c5806f971
#KT-38161 Obsolete
10 lines
239 B
Kotlin
Vendored
10 lines
239 B
Kotlin
Vendored
fun interface Bar {
|
|
fun invoke(): String
|
|
}
|
|
|
|
operator fun Bar.plus(b: Bar): String = invoke() + b.invoke()
|
|
|
|
fun box(): String {
|
|
return { "O" } <!DEBUG_INFO_UNRESOLVED_WITH_TARGET, UNRESOLVED_REFERENCE_WRONG_RECEIVER!>+<!> { "K" }
|
|
}
|