b454fcc1e0
This is needed to avoid clashes between different dumps from different handlers
22 lines
292 B
Plaintext
Vendored
22 lines
292 B
Plaintext
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 = { // BLOCK
|
|
local fun withVararg(p0: Int) {
|
|
withVararg(xs = [p0]) /*~> Unit */
|
|
}
|
|
|
|
::withVararg /*-> IFoo */
|
|
})
|
|
}
|