Unify MutableList.reverse function template between JVM and JS

This commit is contained in:
Ilya Gorbunov
2016-12-07 05:18:27 +03:00
parent 085f476d22
commit e890cb137f
4 changed files with 17 additions and 16 deletions
@@ -784,7 +784,6 @@ public inline fun <T> Iterable<T>.takeWhile(predicate: (T) -> Boolean): List<T>
/**
* Reverses elements in the list in-place.
*/
@kotlin.jvm.JvmVersion
public fun <T> MutableList<T>.reverse(): Unit {
java.util.Collections.reverse(this)
}