Replace @LowPriorityInOverloadResolution with @DeprecatedSinceKotlin #KT-37101

This commit is contained in:
Abduqodiri Qurbonzoda
2020-07-08 05:01:55 +03:00
parent 4ac1b7748a
commit d2c9fc41f1
15 changed files with 462 additions and 217 deletions
+3 -2
View File
@@ -306,9 +306,10 @@ public expect val String.Companion.CASE_INSENSITIVE_ORDER: Comparator<String>
/**
* Returns `true` if the content of this string is equal to the word "true", ignoring case, and `false` otherwise.
*/
@LowPriorityInOverloadResolution
@Deprecated("Use Kotlin compiler 1.4 to avoid deprecation warning.")
@DeprecatedSinceKotlin(hiddenSince = "1.4")
@kotlin.internal.InlineOnly
public inline fun String.toBoolean(): Boolean = this.toBoolean()
public expect fun String.toBoolean(): Boolean
/**
* Returns `true` if this string is not `null` and its content is equal to the word "true", ignoring case, and `false` otherwise.