Adjust stdlib to size transformation

This commit is contained in:
Denis Zharkov
2015-10-06 14:31:19 +03:00
parent 7b432e4830
commit 61416b3d14
12 changed files with 28 additions and 28 deletions
@@ -228,7 +228,7 @@ fun specialJVM(): List<GenericFunction> {
body(ArraysOfPrimitives) {
"""
return object : AbstractList<T>(), RandomAccess {
override fun size(): Int = this@asList.size()
override val size: Int get() = this@asList.size()
override fun isEmpty(): Boolean = this@asList.isEmpty()
override fun contains(o: Any?): Boolean = this@asList.contains(o as T)
override fun iterator(): MutableIterator<T> = this@asList.iterator() as MutableIterator<T>