StdLib cleanup: make calls non-infix

This commit is contained in:
Ilya Gorbunov
2015-11-14 17:48:29 +03:00
parent 88e48380af
commit 794819cea2
4 changed files with 58 additions and 58 deletions
@@ -91,7 +91,7 @@ class CoercionTest {
@Test
@Suppress("DEPRECATION_ERROR")
fun coercionsComparable() {
val v = 0..10 map { ComparableNumber(it) }
val v = (0..10).map { ComparableNumber(it) }
expect(5) { v[5].coerceAtLeast(v[1]).value }
expect(5) { v[1].coerceAtLeast(v[5]).value }