kotlinx-coroutines-core/native/src/internal/CopyOnWriteList.kt [41:50]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun removeAt(index: Int): E { rangeCheck(index) val n = size val element = array[index] val update = arrayOfNulls(n - 1) array.copyInto(destination = update, endIndex = index) array.copyInto(destination = update, destinationOffset = index, startIndex = index + 1, endIndex = n) array = update return element as E } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - kotlinx-coroutines-core/wasmJs/src/internal/CopyOnWriteList.kt [35:44]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - override fun removeAt(index: Int): E { rangeCheck(index) val n = size val element = array[index] val update = arrayOfNulls(n - 1) array.copyInto(destination = update, endIndex = index) array.copyInto(destination = update, destinationOffset = index, startIndex = index + 1, endIndex = n) array = update return element as E } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -