Destructure is available even without usages #KT-14435 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
feb9dd4d83
commit
d9e1e82948
@@ -0,0 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
data class XY(val x: String, val y: String)
|
||||
fun test(xys: Array<XY>) {
|
||||
for ((x, y) in xys) {}
|
||||
}
|
||||
Reference in New Issue
Block a user