Iterate Intention: Add support of destructuring declarations
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
data class Foo(val id: Int, val name: String)
|
||||
|
||||
fun test() {
|
||||
for ((id, name) in listOf(Foo(123, "def"), Foo(456, "abc"))) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user