FIR: support adapted callable reference with vararg

This commit is contained in:
Jinseong Jeon
2020-07-31 23:34:51 -07:00
committed by Mikhail Glukhikh
parent 4332e95b8a
commit 0e54f98b79
24 changed files with 120 additions and 90 deletions
@@ -6,5 +6,5 @@ fun foo(i: Int) {}
val fn1: (Int) -> Unit = ::foo
val fn2: (IntArray) -> Unit = ::foo
val fn3: (Int, Int) -> Unit = <!UNRESOLVED_REFERENCE!>::foo<!>
val fn3: (Int, Int) -> Unit = ::foo
val fn4: (Array<String>) -> Unit = ::foo