Use Char.code.toShort() instead of Char.toShort()
ProprietaryChar.toShort() was deprecated in Kotlin 1.5 in favor of going through Char.code.
org. openrewrite. kotlin. migrate. UseCharCodeAsShort$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseCharCodeAsShort$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.