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