Removing `splitties-coroutines` from my Kotlin Nat...
# splitties
r
Removing
splitties-coroutines
from my Kotlin Native project fixed an error caused by (I think) the difference in kotlinx.coroutines version it was compiled against
l
You might want to compile it yourself (copying what you need) until I can followup with kotlinx.coroutines releases faster 😅 BTW, what were you using in this artifact. And about the error, what was it?
BTW, good to learn that it's used on Kotlin/Native 🙂
r
I was only using
repeatWhileActive
and basically copy-pasted both extensions in my project
I don’t know the details but the compiler basically crashes. It’s due to binary incompatibility in native between kotlinx.coroutines
1.4.3-native-mt
and
1.5.0-native-mt
I’m not sure if the
splitties-coroutines
dependency itself was the problem, or if some Gradle magic could have fixed it, but from a Gradle scan I could see that the build was ignoring the
1.4.3-native-mt
version in favor of
1.5.0-native-mt
so I guessed it was the
splitties-coroutines
binary itself
l
So compiler crashing, I see. Thanks for the info anyway. Hopefully, I will work on Splitties again soon and setup timely updating 🙂
👍 1