Fix testData/intentions: replace deprecated reverse usages.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
fun main() {
|
||||
val x = 1..4
|
||||
|
||||
for (it in x.reverse()) {
|
||||
for (it in x.reversed()) {
|
||||
it
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user