ReplaceJavaStaticMethodWithKotlinAnalogInspection: fix false positive for 'Arrays.copyOf'
#KT-32477
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
import java.util.Arrays
|
||||
|
||||
fun test() {
|
||||
val array = arrayOf(1, 2, 3)
|
||||
val result = Arrays.<caret>copyOf(array, 3, Array<Double>::class.java)
|
||||
}
|
||||
Reference in New Issue
Block a user