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:
@@ -46,7 +46,7 @@ class JvmNameResolverTest : KtUsefulTestCase() {
|
||||
internalString?.let { setString(it) }
|
||||
operation?.let { setOperation(it) }
|
||||
substringIndex?.let { addAllSubstringIndex(it) }
|
||||
replaceChar?.let { addAllReplaceChar(it.map(Char::toInt)) }
|
||||
replaceChar?.let { addAllReplaceChar(it.map(Char::code)) }
|
||||
}.build())
|
||||
|
||||
string?.let { strings.add(it) }
|
||||
|
||||
Reference in New Issue
Block a user