KT-5692 Java to Kotlin conversion: convert int range loops in reverse order + a few more improvements
#KT-5692 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
public class A {
|
||||
fun foo(array: Array<String>) {
|
||||
for (i in array.size() - 2 downTo 0) {
|
||||
System.out.println(i)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user