Do not override default AbstractList iterator() implementation for primitiveArray.asList wrappers.
#KT-9927 Fixed
This commit is contained in:
@@ -250,7 +250,6 @@ fun specialJVM(): List<GenericFunction> {
|
||||
override val size: Int get() = this@asList.size()
|
||||
override fun isEmpty(): Boolean = this@asList.isEmpty()
|
||||
override fun contains(o: T): Boolean = this@asList.contains(o)
|
||||
override fun iterator(): MutableIterator<T> = this@asList.iterator() as MutableIterator<T>
|
||||
override fun get(index: Int): T = this@asList[index]
|
||||
override fun indexOf(o: T): Int = this@asList.indexOf(o)
|
||||
override fun lastIndexOf(o: T): Int = this@asList.lastIndexOf(o)
|
||||
|
||||
Reference in New Issue
Block a user