enabled, the compiler will produce pre-release binaries that cannot be used in production code
What does this mean exactly? I couldn't easily find any info about "pre-release binaries". How does the mechanism work?
e
ephemient
09/12/2024, 4:48 PM
the kotlin compiler emits metadata along with the compiled classes in a library. it's necessary for handling kotlin semantics from other libraries (non-java things like top-level functions and typealiases)
ephemient
09/12/2024, 4:50 PM
if a library is built with context receivers, it will be flagged as "prerelease" in its metadata. on the consumer side, the kotlin compiler will reject using classes with "prerelease" metadata unless it is also being run in "prerelease" mode