Add support for desctructuring of lambda parameters in JVM backend
#KT-5828 In Progress
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
data class A(val x: String, val y: String)
|
||||
|
||||
inline fun foo(a: A, block: (A) -> String): String = block(a)
|
||||
|
||||
fun box() = foo(A("O", "K")) { (x, y) -> x + y }
|
||||
Reference in New Issue
Block a user