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
@@ -7,7 +7,7 @@ class C @Primary constructor() {
}
fun box(): String {
val ans = C::class.constructors.map { it.annotations.single().annotationType().simpleName }.toSortedList()
val ans = C::class.constructors.map { it.annotations.single().annotationType().simpleName }.sorted()
if (ans != listOf("Primary", "Secondary")) return "Fail: $ans"
return "OK"
}