mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
23 lines
497 B
Kotlin
Vendored
23 lines
497 B
Kotlin
Vendored
// WITH_REFLECT
|
|
// FULL_JDK
|
|
// See KT-11258 Incorrect resolution sequence for Java field
|
|
|
|
import java.util.*
|
|
|
|
fun box(): String {
|
|
listOf(
|
|
ArrayList::class,
|
|
LinkedList::class,
|
|
AbstractList::class,
|
|
HashSet::class,
|
|
TreeSet::class,
|
|
HashMap::class,
|
|
TreeMap::class,
|
|
AbstractMap::class,
|
|
AbstractMap.SimpleEntry::class
|
|
).map {
|
|
it.members.map(Any::toString)
|
|
}
|
|
return "OK"
|
|
}
|