blob: 69840794c0e7e3780f15f6edc69d2966ecebaad3 [file]
// FILE: 1.kt
package test
inline fun foo(x: String) = x
inline fun processRecords(s: String?, block: String.(String) -> String) = s?.block(foo("O"))
// FILE: 2.kt
import test.*
fun test(): String? {
return processRecords("O") { this + "K" }
}
fun box(): String = test()!!