Use CharArray.concatToString() instead of String(charArray)
ProprietaryThe String(CharArray) constructor is JVM-only; charArray.concatToString() is the multiplatform Kotlin extension producing the same String.
org. openrewrite. kotlin. migrate. UseConcatToString$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseConcatToString$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.