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

19 lines
239 B
Kotlin
Vendored

fun interface IFoo {
abstract fun foo(i: Int)
}
fun useFoo(foo: IFoo) {
}
fun withVararg(vararg xs: Int): Int {
return 42
}
fun test() {
useFoo(foo = local fun withVararg(p0: Int) {
withVararg(xs = [p0])
}
/*-> IFoo */)
}