Use Int.digitToChar(radix) instead of Character.forDigit(digit, radix)
ProprietaryCharacter.forDigit(digit, radix) returns the null '\u0000' for invalid input; the Kotlin extension digit.digitToChar(radix) throws IllegalArgumentException instead.
org. openrewrite. kotlin. migrate. UseIntDigitToChar$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseIntDigitToChar$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.