PSI2IR: SAM conversion in varargs

This commit is contained in:
Dmitry Petrov
2020-01-29 16:15:01 +03:00
parent 186a456e01
commit 53f66e9509
9 changed files with 200 additions and 19 deletions
@@ -6,15 +6,9 @@ fun interface IFoo {
fun useFoo(foo: IFoo) {}
fun useVarargFoo(vararg foos: IFoo) {}
fun withVararg(vararg xs: Int) = 42
fun test() {
useFoo(::withVararg)
}
// TODO
//fun testVarargOfSams() {
// useVarargFoo(::withVararg)
//}