JS: Remove declarations of unsupported SortedSet and TreeSet, make toSortedSet() jvm-only.

Fix completion test.

Relates to #KT-7480
This commit is contained in:
Ilya Gorbunov
2016-02-27 00:24:26 +03:00
parent eb7cf92fbd
commit e5dbb65ff7
7 changed files with 13 additions and 10 deletions
-9
View File
@@ -91,15 +91,6 @@ public open class HashSet<E>(
override val size: Int get() = noImpl
}
@library
public interface SortedSet<E> : Set<E> {
}
@library
public open class TreeSet<E>() : AbstractCollection<E>(), MutableSet<E>, SortedSet<E> {
override val size: Int get() = noImpl
}
@library
public open class LinkedHashSet<E>(
initialCapacity: Int = DEFAULT_INITIAL_CAPACITY, loadFactor: Float = DEFAULT_LOAD_FACTOR