Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/collectionStubs/collectionsWithFullJdk.kt
T
Denis.Zharkov 2e5b783cc6 K2: Refine how JDK members are mapped to built-in classes
Previously, the semantic was more-or-less correct for most of the cases
but some corner one, like `sort` in MutableList didn't work properly.

Namely, `sort` should be marked there in a way to forbid to call it
everywhere beside super-calls.
Also, overriding it should be allowed.

Mostly, the logic was re-written to K2 model from K1-related
JvmBuiltInsCustomizer.

^KT-57694 In progress
^KT-57269 Fixed
2023-05-30 10:44:41 +00:00

19 lines
456 B
Kotlin
Vendored

// FULL_JDK
// See: KT-42114, KT-42115
abstract class AbstractIterator : Iterator<String>
abstract class AbstractIterable : Iterable<String>
abstract class AbstractCollection : Collection<String>
abstract class AbstractSet : Set<String>
abstract class AbstractList : List<String>
abstract class AbstractListIterator : ListIterator<String>
abstract class AbstractMap : Map<String, Number>
abstract class AbstractMapEntry : Map.Entry<String, Number>