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