Added copyToArray intrinsic method.

#KT-3352 fixed
This commit is contained in:
Evgeny Gerashchenko
2013-09-30 20:09:09 +04:00
parent 41d1f277dc
commit 2ae1a2c81b
13 changed files with 110 additions and 7 deletions
+2
View File
@@ -24,3 +24,5 @@ public fun byteArray(vararg content : Byte): ByteArray = js.noImpl
public fun booleanArray(vararg content : Boolean): BooleanArray = js.noImpl
library("copyToArray")
public fun <reified T> Collection<T>.copyToArray(): Array<T> = js.noImpl