class A { internal fun foo(array: Array) { for (i in array.indices.reversed()) { println(i) } } }