KT-16828: use _ when appropriate in destructure intention

This commit is contained in:
mglukhikh
2017-03-31 13:01:17 +03:00
committed by Mikhail Glukhikh
parent 32d0d7a4d5
commit 8a02ce3dc2
9 changed files with 36 additions and 5 deletions
@@ -2,7 +2,7 @@
fun main(args: Array<String>) {
val list = listOf(MyClass(1, 2, 3, 4))
for ((a, b, c) in list) {
for ((a, _, c) in list) {
println("$a$c")
}
}