Set type reference: destructuring support #KT-14994 Fixed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
data class A(val x: String, val y: String)
|
||||
fun foo(a: A, block: (Int, A, String) -> String): String = block(1, a, "#")
|
||||
fun bb() = foo(A("O", "K")) { i: Int, (x, y)<caret>, v: String -> i.toString() + x + y + v }
|
||||
@@ -0,0 +1,3 @@
|
||||
data class A(val x: String, val y: String)
|
||||
fun foo(a: A, block: (Int, A, String) -> String): String = block(1, a, "#")
|
||||
fun bb() = foo(A("O", "K")) { i: Int, (x, y): A, v: String -> i.toString() + x + y + v }
|
||||
Reference in New Issue
Block a user