Minor, fix warnings in core/ modules

This commit is contained in:
Alexander Udalov
2016-04-17 13:35:17 +03:00
parent f773966458
commit 027cc898e7
9 changed files with 30 additions and 30 deletions
+3 -2
View File
@@ -21,5 +21,6 @@ import kotlin.internal.PureReifiable
/**
* Returns an empty array of the specified type [T].
*/
public inline fun <reified @PureReifiable T> emptyArray(): Array<T> = arrayOfNulls<T>(0) as Array<T>
public inline fun <reified @PureReifiable T> emptyArray(): Array<T> =
@Suppress("CAST_NEVER_SUCCEEDS")
arrayOfNulls<T>(0) as Array<T>