Kotlin 2.1.0-RC
Pre-release
Pre-release
Changelog
Backend. Wasm
KT-72297
[Wasm] Unused associated object class lead to compiler fail
Compiler
KT-72281
K/N: "Failed to wait for cache to be built"KT-72238
Argument type mismatch in builder inside extension function after ?:KT-71751
K2: Skipping code in last statement of lambdaKT-72552
AutoboxingTransformer fails on during linkage on nested lambdas with cinteroped typesKT-71649
K2: Put operator on mutableMap<T?, V>() causes crashes on null keyKT-71508
JAVA_CLASS_INHERITS_KT_PRIVATE_CLASS isn't reported when java class is inherited from an effectively private classKT-72178
K2: "Unexpected FirPlaceholderProjectionImpl" exception when using "_" as key type in EnumMapKT-72302
K2: no error on type operator in annotation parameter default valueKT-72173
K2: simple object names from root package are resolved without imports in non-root packages when used as values
Compose compiler
b/376058538
Fix stack overflow when inferring stability of indirect generic loopb/339322843
Transform@Composable
property delegate references
IR. Inlining
KT-72521
Kotlin/Native: java.lang.AssertionError: kfun:androidx.compose.runtime#access$<get-androidx_compose_runtime_ProvidedValue$stable>$p$tComposerKt(){}kotlin.IntKT-72623
Don't generate synthetic accessors in files other than the one being lowered
IR. Interpreter
KT-72356
K2 Native: IllegalStateException when annotation has the same source range as a constant in another file
Native. Runtime. Memory
KT-71401
K/N: CMS barrier can be executed on an unregisterred thread
Tools. CLI
KT-72311
KotlinCliJavaFileManagerImpl caches empty result and broke repeated analyses
Tools. Daemon
Tools. Gradle
KT-72467
kotlin.sourceSets extension not added for KotlinBaseApiPlugin.createKotlinAndroidExtension()KT-72495
Warn about kotlin-compiler-embeddable loaded along KGPKT-72387
KGP 2.1.0-RC-227 changes cause KSP to crash calling produceUnpackedKlibKT-72303
KGP 2.1.0-Beta2 broke compatibility with KSPKT-72651
Unable to usetarget
for KotlinBaseApiPlugin.createKotlin(Jvm/Android)Extension()
Tools. Gradle. Multiplatform
KT-72454
Revert changes made in KT-69899 i.e. make kotlin.android.buildTypeAttribute.keep = false by default again
Tools. Gradle. Native
KT-72366
KGP 2.1.0-Beta2 doesn't downloadkotlin-native-prebuilt
when running DokkaKT-71051
K/N dependencies are re-downloaded multiple times on Windows
Tools. JPS
KT-68565
K2: IllegalStateException: Source classes should be created separately before referencing
Tools. Kapt
KT-71776
K2 Kapt in 2.1.0-Beta1 fails withe: java.lang.IllegalStateException: FIR symbol "class org.jetbrains.kotlin.fir.symbols.impl.FirValueParameterSymbol" is not supported in constant evaluation