Deprecate CharSequence.size in JS

#KT-18267 Fixed
This commit is contained in:
Ilya Gorbunov
2017-07-23 00:28:29 +03:00
parent f10ea03173
commit baa6b44567
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ fun test():Any {
if (true) {
when {
false -> "1"
((a as? String)?.size ?: 0 > 0) -> a
((a as? String)?.length ?: 0 > 0) -> a
else -> "2"
}
}