KT-4820: Intention to introduce an index variable to a for loop over an ordered collection via "withIndices()."

This commit is contained in:
Ross Hanson
2014-04-11 13:07:26 -04:00
parent 399c9c1175
commit 97010c7d7f
17 changed files with 199 additions and 1 deletions
@@ -0,0 +1,3 @@
for ((i, x) in foo.withIndices()) {
}
@@ -0,0 +1,3 @@
for (x in foo) {
}
@@ -0,0 +1,5 @@
<html>
<body>
This intention adds an index variable to a for loop iterating over a collection.
</body>
</html>