STDLIB: arrayOf() public function

(cherry picked from commit 3240bec552420dfad73841ed6433b2b5cb29b5e6)
This commit is contained in:
Vasily Levchenko
2017-01-25 17:44:18 +03:00
parent b1dc142486
commit 778574c428
+1 -1
View File
@@ -46,7 +46,7 @@ private class IteratorImpl<T>(val collection: Array<T>) : Iterator<T> {
}
}
fun <T> arrayOf(vararg elements: T) : Array<out T> = elements
public fun <T> arrayOf(vararg elements: T) : Array<out T> = elements
@kotlin.internal.InlineOnly
public inline operator fun <T> Array<T>.plus(elements: Array<T>): Array<T> {