2076a31094
Use static methods from KotlinBuiltIns and check all supertypes, support cases of Collection, Map and CharSequence
11 lines
223 B
Plaintext
Vendored
11 lines
223 B
Plaintext
Vendored
import java.util.Arrays
|
|
|
|
// WITH_RUNTIME
|
|
// INTENTION_TEXT: Replace '==' with 'Arrays.equals'
|
|
fun foo() {
|
|
val a = charArrayOf('a', 'b', 'c')
|
|
val b = charArrayOf('a', 'b', 'c')
|
|
if (Arrays.equals(a, b)) {
|
|
}
|
|
}
|