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
@@ -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>")