Files
kotlin-fork/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.fir.kt.txt
T
2020-11-26 00:15:13 +03:00

19 lines
239 B
Kotlin
Vendored

package test
inline fun foo(x: Function0<Unit>) {
}
fun String.id(s: String = <this>, vararg xs: Int): String {
return s
}
fun test() {
foo(x = { // BLOCK
local fun String.id() {
receiver.id()
}
"Fail"::id
})
}