Files
Alexey Belkov 2099cf697d [kotlin] "Java methods should be replaced with Kotlin analog": add special handling for functions that change semantics
^KTIJ-25643 Fixed
^KTIJ-25633 Fixed

GitOrigin-RevId: f93cf6690484eeb10e3a6261c68da98c5dedc0f7
2023-05-25 15:59:01 +00:00

8 lines
195 B
Plaintext

// FIX: Replace with 'copyOfRange' function (may change semantics)
// WITH_STDLIB
import java.util.Arrays
fun test() {
val array = arrayOf(1, 2, 3)
val result = array.copyOfRange(3, 5)
}