Fix testData/codegen: replace deprecated sort usages.

This commit is contained in:
Ilya Gorbunov
2015-10-02 19:02:05 +03:00
parent c54ffe39b1
commit 43a74e575e
10 changed files with 15 additions and 15 deletions
@@ -11,7 +11,7 @@ class A {
private class PrivateNested
}
fun nestedNames(c: KClass<*>) = c.nestedClasses.map { it.simpleName ?: throw AssertionError("Unnamed class: ${it.java}") }.toSortedList()
fun nestedNames(c: KClass<*>) = c.nestedClasses.map { it.simpleName ?: throw AssertionError("Unnamed class: ${it.java}") }.sorted()
fun box(): String {
// Kotlin class without nested classes