KT-2579 Rename Range.minus() to reversed and make it extension
#KT-2579 fixed
This commit is contained in:
@@ -4,7 +4,7 @@ fun box() : String {
|
||||
cnt++
|
||||
}
|
||||
|
||||
for (n in -(1..5))
|
||||
for (n in (1..5).reversed)
|
||||
cnt++
|
||||
|
||||
return if(cnt == 9) "OK" else cnt.toString()
|
||||
|
||||
Reference in New Issue
Block a user