Refactor: replace Math.min with minOf in common code.

Add temporary import of kotlin.comparisons where required.
This commit is contained in:
Ilya Gorbunov
2016-11-16 07:49:14 +03:00
parent 51c24a0c3c
commit 844c68286a
11 changed files with 74 additions and 78 deletions
@@ -74,14 +74,6 @@ internal inline header fun <T> Array<out T>.copyToArrayOfAny(isVarargs: Boolean)
internal header interface Serializable
// temporary
internal header object Math {
fun max(a: Int, b: Int): Int
fun min(a: Int, b: Int): Int
}
// From numbers.kt
header fun Double.isNaN(): Boolean