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