diff --git a/libraries/stdlib/src/Arrays.kt b/libraries/stdlib/src/Arrays.kt index be457620ccc..435e65ae488 100644 --- a/libraries/stdlib/src/Arrays.kt +++ b/libraries/stdlib/src/Arrays.kt @@ -108,5 +108,5 @@ inline fun Array.notEmpty() : Boolean = !this.isEmpty() inline fun Array.isEmpty() : Boolean = this.size == 0 /** Returns the array if its not null or else returns an empty array */ -inline fun Array?.orEmpty() : Array = if (this != null) this else array() +inline fun Array?.orEmpty() : Array = if (this != null) this else array()