Deprecate Char-to-Number conversions in stdlib (Native)

- Synchronize code of Ranges, Progressions, ProgressionIterators
- Suppress deprecations in regex implementation code

KT-23451
This commit is contained in:
Ilya Gorbunov
2021-04-07 04:50:55 +03:00
parent 833955e56d
commit 7cd306950a
30 changed files with 152 additions and 78 deletions
@@ -56,7 +56,7 @@ class StringNativeTest {
}
fun Char.hex(): String {
return toInt().toString(16).padStart(4, '0')
return code.toString(16).padStart(4, '0')
}
val sigma = '\u03A3'