Simplify for intention: now is not active if map / data class properties aren't used in a loop #KT-11716 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-05-17 14:49:58 +03:00
parent 3930184f1f
commit d366da5cd6
3 changed files with 15 additions and 1 deletions
@@ -0,0 +1,7 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
data class XY(val x: String, val y: String)
fun test(xys: Array<XY>) {
for (<caret>xy in xys) {}
}