Add indices: don't suggest if parameter is destructuring declaration

So #KT-22162 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-06-02 08:48:28 +03:00
committed by Mikhail Glukhikh
parent 752c576e20
commit fa58da85ee
3 changed files with 13 additions and 0 deletions
@@ -0,0 +1,7 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val list = listOf(Pair("foo", "bar"))
for ((x, y) <caret>in list) {
}
}