8d9618348d
Delete the old ones in package kotlin.reflect.jvm because otherwise the code using those functions will become red in a lot less meaningful way (overload resolution ambiguity) than if they're deleted (unresolved import) Based on the work originally done by @dnpetrov #KT-8380 Fixed
12 lines
208 B
Kotlin
Vendored
12 lines
208 B
Kotlin
Vendored
import kotlin.test.*
|
|
|
|
fun box(): String {
|
|
val any = Array<Any>::class
|
|
val string = Array<String>::class
|
|
|
|
assertNotEquals(any, string)
|
|
assertNotEquals(any.java, string.java)
|
|
|
|
return "OK"
|
|
}
|