From 3efbf3ae2724cb1a03cc1da64ce284403b2b2c7c Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Thu, 6 Apr 2017 14:31:51 +0300 Subject: [PATCH] Removed a fixme leftover. We have a proper version in stdlib now. --- .../src/main/kotlin/kotlin/collections/Collections.kt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/runtime/src/main/kotlin/kotlin/collections/Collections.kt b/runtime/src/main/kotlin/kotlin/collections/Collections.kt index 1ea71feb52f..880009bd2c4 100644 --- a/runtime/src/main/kotlin/kotlin/collections/Collections.kt +++ b/runtime/src/main/kotlin/kotlin/collections/Collections.kt @@ -298,14 +298,6 @@ fun Array.toSet(): Set { return result } -@FixmeVariance -public fun > Iterable.toCollection(destination: C): C { - for (item in this) { - destination.add(item) - } - return destination -} - @Fixme internal fun List.optimizeReadOnlyList() = this @@ -2430,4 +2422,4 @@ public fun Iterable.sum(): Double { sum += element } return sum -} \ No newline at end of file +}