https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Marko Novakovic

06/01/2022, 9:03 PM
I started getting
Class … is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
for classes and top level functions in
shared
module. Am using Kotlin version
1.6.21
for month now and today I started to get those errors. I don’t understand this
e

ephemient

06/01/2022, 9:15 PM
are you using
-Xcontext-receivers
anywhere?
m

Marko Novakovic

06/02/2022, 6:59 AM
yes, using it in
shared
module
and once I use it in Android module as well now it works
thank you!
k

Kazem Moridi

07/02/2022, 6:35 AM
thanks a lot, I was stuck at a problem because of context receiver args, after removing it, it fixed my problem
5 Views