Migrate deprecations in core, compiler, idea, tests
Replacing deprecated Char.toInt() with Char.code and Number.toChar() with Number.toInt().toChar(), where Number is not Int. KT-23451
This commit is contained in:
@@ -847,10 +847,10 @@ class FirRenderer(builder: StringBuilder, private val mode: RenderMode = RenderM
|
||||
if (value !is Char) {
|
||||
print(value.toString())
|
||||
} else {
|
||||
if (value.toInt() in 32..127) {
|
||||
if (value.code in 32..127) {
|
||||
print(value)
|
||||
} else {
|
||||
print(value.toInt())
|
||||
print(value.code)
|
||||
}
|
||||
}
|
||||
print(")")
|
||||
|
||||
Reference in New Issue
Block a user