Stdlib/JS: drop deprecated CharSequence.size

#KT-21703
This commit is contained in:
Ilya Gorbunov
2018-09-06 06:04:07 +03:00
parent f1c3d8b860
commit c3f654a71c
-4
View File
@@ -67,10 +67,6 @@ public inline fun String.match(regex: String): Array<String>? = asDynamic().matc
//native public fun String.trim(): String
//TODO: String.replace to implement effective trimLeading and trimTrailing
@Deprecated("Use length property instead.", ReplaceWith("length"), level = DeprecationLevel.ERROR)
@kotlin.internal.InlineOnly
public inline val CharSequence.size: Int get() = length
@kotlin.internal.InlineOnly
internal inline fun String.nativeReplace(pattern: RegExp, replacement: String): String = asDynamic().replace(pattern, replacement)