[K/N] Deprecate SharedImmutable annotation #KT-57837

As a part of efforts to stabilize Native stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-06-16 19:20:11 +03:00
committed by Space Team
parent 0cfb80144a
commit 4ae19b2b44
31 changed files with 11 additions and 63 deletions
@@ -5,7 +5,6 @@
package test.comparisons
import kotlin.native.concurrent.SharedImmutable
import kotlin.test.*
data class Item(val name: String, val rating: Int) : Comparable<Item> {
@@ -14,7 +13,6 @@ data class Item(val name: String, val rating: Int) : Comparable<Item> {
}
}
@SharedImmutable
val STRING_CASE_INSENSITIVE_ORDER: Comparator<String> =
compareBy { it: String -> it.uppercase() }.thenBy { it.lowercase() }.thenBy { it }