I compiled my library with Kotlin 2.0.0 (<https://...
# compiler
a
I compiled my library with Kotlin 2.0.0 (https://github.com/codeborne/klite), but when I try to use it in a project also set to Kotlin 2.0.0, I get the message that classes of the library are compiled with a pre-release version... Is it a bug in the compiler?
e
Copy code
freeCompilerArgs.add("-Xcontext-receivers")
is not to be used in release binaries
and context receivers will go away in a future release, to be replaced with https://github.com/Kotlin/KEEP/issues/367
a
Hmm... context receivers weren't a problem with 1.9 builds... Are you sure this is not to do with the new feature of explicit backing fields?