Fix testData/codegen: replace deprecated sort usages.
This commit is contained in:
Vendored
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user