FIR: Support coercion-to-unit semantics for callable references
This commit is contained in:
Vendored
+1
-1
@@ -5,5 +5,5 @@ fun foo(x: Any, y: Int) = y
|
||||
fun main() {
|
||||
<!UNRESOLVED_REFERENCE!>::foo<!>
|
||||
|
||||
val fooRef: (Int, Any) -> Unit = <!UNRESOLVED_REFERENCE!>::foo<!>
|
||||
val fooRef: (Int, Any) -> Unit = ::foo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user