JS: Remove declarations of unsupported SortedSet and TreeSet, make toSortedSet() jvm-only.
Fix completion test. Relates to #KT-7480
This commit is contained in:
@@ -40,6 +40,7 @@ fun snapshots(): List<GenericFunction> {
|
||||
|
||||
templates add f("toSortedSet()") {
|
||||
include(CharSequences)
|
||||
jvmOnly(true)
|
||||
typeParam("T: Comparable<T>")
|
||||
doc { f -> "Returns a [SortedSet] of all ${f.element.pluralize()}." }
|
||||
returns("SortedSet<T>")
|
||||
|
||||
Reference in New Issue
Block a user