JS: drop Collections.reverse and java.util.Collections altogether

This commit is contained in:
Alexander Udalov
2016-11-02 12:35:23 +03:00
parent e8fecea871
commit 3db459c1d8
5 changed files with 19 additions and 15 deletions
@@ -8,6 +8,7 @@ fun ordering(): List<GenericFunction> {
templates add f("reverse()") {
doc { f -> "Reverses ${f.element.pluralize()} in the ${f.collection} in-place." }
only(Lists, InvariantArraysOfObjects, ArraysOfPrimitives)
jvmOnly(Lists) { true }
customReceiver(Lists) { "MutableList<T>" }
returns { "Unit" }
body { f ->