How do I get a forked Kotlin Native version (compi...
# kotlin-native
n
How do I get a forked Kotlin Native version (compiler ver 1.5.0-dev-2205) to use the Kotlin compiler from a forked Kotlin version (compiler ver 1.5.255-SNAPSHOT)? I keep on getting errors related to compiler versions, eg:
Copy code
e: /home/napperley/repos/kotlin-native/shared/src/main/kotlin/org/jetbrains/kotlin/konan/util/Substitution.kt: (21, 35): Class 'kotlin.text.StringsKt__StringsKt' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
Using the following to build Kotlin Native:
./gradlew dist -PkotlinProjectPath="$HOME/repos/kotlin"
Main aim is to have the forked Kotlin Native version use the built Kotlin compiler from the forked Kotlin version, which has the support for the new Kotlin Native target. I'm wondering if the forked versions of Kotlin and Kotlin Native can use ver 1.4.21 of the Kotlin compiler.