K2: Support callable references adaptation on top-level
^KT-45989 In progress ^KT-54709 Related ^KT-55217 Fixed
This commit is contained in:
committed by
Space Team
parent
8f8ea8c57f
commit
dcdc48a233
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user