I've read <https://blog.jetbrains.com/kotlin/2023/...
# getting-started
r
I've read https://blog.jetbrains.com/kotlin/2023/02/k2-kotlin-2-0/, but I'm still a bit confused. What makes Kotlin 2.0 different from Kotlin 1.9? Is this only about K2 frontend? If so, testing
1.9.21
with K2 enabled (with
kotlin.experimental.tryK2=true
) should give me the same kind of problems as with
2.0.0-Beta2
? I'm asking because it doesn't seem to be the case - my project works fine with 1.9.21 + K2, but I have many different problems with 2.0-betas.
o
K2 is continuing to evolve. The differences you’re observing might be because of this:
In addition, tons of long-standing bugs have been fixed and, inevitably, some of those fixes might break code that accidentally relied on incorrect compiler behavior.