-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin 2.0.0-RC3 #258
Kotlin 2.0.0-RC3 #258
Conversation
Can you still opt out though? Or did they completely eliminate the old compiler? |
Hmm possibly setting an old language version like 1.9 would use the non-K2 compiler. I'll test that out. |
Confirmed that non-K2 compilation is still possible with language version 1.9. Unfortunately, adding configurations targeting 1.9 in the existing
|
Probably not. Although a separate module might be nice because it can be deleted as a unit more easily once the old compiler is gone for good. |
a687ef9
to
9ce5d54
Compare
9ce5d54
to
635a3e0
Compare
635a3e0
to
c4dd17f
Compare
e0c184d
to
1f06d7d
Compare
2.0.0-Beta3 doesn't like the way we're setting the JVM toolchain in
|
1f06d7d
to
d92ce9f
Compare
Found KT-64629: Seems like we can't have multiple JVM targets compiled with different JDKs anymore. Thinking the best bet will be to build the |
d92ce9f
to
46a03fd
Compare
46a03fd
to
f09d9d2
Compare
23f424d
to
112e029
Compare
7a68bff
to
519885f
Compare
8f26459
to
4d80e34
Compare
d876301
to
da0a56c
Compare
6a085c1
to
1dbd8e8
Compare
1dbd8e8
to
cccb93f
Compare
Since it looks like Kotlin 2.0.0 will be based on the same commit as 2.0.0-RC3, would it be possible to get a rebase & a proper release published to Maven Central, even if it's an alpha/beta version? It will allow upgrades for dependents when Kotlin 2.0.0 drops without having to add snapshot repos. Thanks! |
This reverts commit 34bef63.
This reverts commit d2cff22.
Previous superclass, IrDeclarationOriginImpl, was changed to final.
Fails due to: "Using 'jvmToolchain(Int): Unit' is an error. Configuring JVM toolchain in the Kotlin target level DSL is prohibited. JVM toolchain feature should be configured in the extension scope as it affects all JVM targets (JVM, Android)."
Add MppCheckerKind.Common on the assumption that Poko class definitions won't change across platforms.
and :poko-tests-without-k2
* KSP 2.0.0-Beta5-1.0.19 * Compose compiler 1.5.11-dev-k2.0.0-Beta5-b5a216d0ac6
* KSP 2.0.0-RC1-1.0.20 * kotlin-compile-testing 0.5.0-alpha07 * Update yarn.lock * Switch to new compose compiler plugin
KSP 2.0.0-RC3-1.0.20
cccb93f
to
c98d3a4
Compare
Can do. Since 0.15 is unlikely to need any more releases, I'll merge this PR with Kotlin 2.0.0-RC3 to main and release a 0.16 beta version. |
Kotlin 2.0 enables the new K2 compiler by default, so non-K2 code paths can be removed.