[K/JS] Loosen StringBuilder.capacity() deprecation level to WARNING
This commit is contained in:
committed by
Space Team
parent
e20b1239fe
commit
040fcee04e
@@ -132,7 +132,7 @@ public actual class StringBuilder actual constructor(content: String) : Appendab
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
// @ExperimentalStdlibApi
|
||||
@Deprecated("Obtaining StringBuilder capacity is not supported in JS and common code.", level = DeprecationLevel.ERROR)
|
||||
@Deprecated("Obtaining StringBuilder capacity is not supported in JS and common code.", level = DeprecationLevel.WARNING)
|
||||
actual fun capacity(): Int = length
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user