JS: Remove declarations of unsupported SortedSet and TreeSet, make toSortedSet() jvm-only.
Fix completion test. Relates to #KT-7480
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user