[K/N] Deprecate Char.MIN_RADIX and MAX_RADIX constants

As a part of efforts to stabilize Native stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-04-19 15:21:51 +03:00
committed by Space Team
parent b25f3be81b
commit da0cc2ea4d
2 changed files with 5 additions and 0 deletions
@@ -181,11 +181,15 @@ public class Char private constructor() : Comparable<Char> {
/**
* The minimum radix available for conversion to and from strings.
*/
@Deprecated("Introduce your own constant with the value of `2`", ReplaceWith("2"))
@DeprecatedSinceKotlin(warningSince = "1.9")
public const val MIN_RADIX: Int = 2
/**
* The maximum radix available for conversion to and from strings.
*/
@Deprecated("Introduce your own constant with the value of `36", ReplaceWith("36"))
@DeprecatedSinceKotlin(warningSince = "1.9")
public const val MAX_RADIX: Int = 36
}