Adjust stdlib to isEmpty transformation
This commit is contained in:
@@ -229,7 +229,7 @@ fun specialJVM(): List<GenericFunction> {
|
||||
"""
|
||||
return object : AbstractList<T>(), RandomAccess {
|
||||
override val size: Int get() = this@asList.size()
|
||||
override fun isEmpty(): Boolean = this@asList.isEmpty()
|
||||
override val isEmpty: Boolean get() = 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]
|
||||
|
||||
Reference in New Issue
Block a user