kotlinx-metadata: minor, remove incorrect ReplaceWith from IS_PRIMARY deprecation
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
## 0.1.1
|
||||
|
||||
- [`KT-42429`](https://youtrack.jetbrains.com/issue/KT-42429) Wrong interpretation of Flag.Constructor.IS_PRIMARY
|
||||
- Breaking change: `Flag.Constructor.IS_PRIMARY` is deprecated, use `Flag.Constructor.IS_SECONDARY` instead
|
||||
- [`KT-37421`](https://youtrack.jetbrains.com/issue/KT-37421) Add Flag.Class.IS_FUN for functional interfaces
|
||||
- Add `KmModule.optionalAnnotationClasses` for the new scheme of compilation of OptionalExpectation annotations in multiplatform projects ([KT-38652](https://youtrack.jetbrains.com/issue/KT-38652))
|
||||
|
||||
|
||||
@@ -220,11 +220,8 @@ class Flag(private val offset: Int, private val bitWidth: Int, private val value
|
||||
*/
|
||||
object Constructor {
|
||||
@JvmField
|
||||
@Deprecated(
|
||||
"Use IS_SECONDARY which holds inverted value instead.",
|
||||
ReplaceWith("Flag.Constructor.IS_SECONDARY"),
|
||||
level = DeprecationLevel.ERROR
|
||||
)
|
||||
@Deprecated("Use IS_SECONDARY which holds inverted value instead.", level = DeprecationLevel.ERROR)
|
||||
@Suppress("unused")
|
||||
val IS_PRIMARY = Flag(F.IS_SECONDARY, 0)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user