blob: f8e565554ae9ec5c8a43841fb2a0f88a255d43d8 [file] [log] [blame]
// 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 box(): String? {
return processRecords("O") { this + "K" }
}