Kotlin 1.8.20-RC
Pre-release
Pre-release
Changelog
Backend. Wasm
KT-56584K/Wasm: Can't link symbol class
Compiler
Fixes
KT-57053Problem around anonymous objects in inline functionsKT-56965K/N: linkDebugFrameworkIosArm64 tasks failing with UnsupportedOperationException: VAR name:disposables type:com.badoo.reaktive.disposable.CompositeDisposable [val]KT-56815compileKotlin task is stuck with while(true) and suspend functionKT-56258VerifyError: Bad local variable type when using -XdebugKT-56847Unresolved reference to Java annotation in Kotlin class with the same name packagesKT-56526InvalidProtocolBufferException on reading module metadata compiled by K2 in 1.8.20KT-56500The type parameter TYPE_PARAMETER name:E index:0 variance: superTypes:[kotlin.Any?] reified:false is not defined in the referenced function FUN LOCAL_FUNCTION_FOR_LAMBDAKT-56611Native: new native caches are broken when KONAN_DATA_DIR is defined to a directory inside ~/.gradleKT-56215JVM: Object extension function nullable receiver null check false negative when object is nullKT-56033Restore 'isMostPreciseContravariantArgument' function signature for compatibilityKT-56407Backend Internal error: Exception during IR lowering during:daemon-common-new:compileKotlinKT-56701K2 (with LightTree) reports syntax errors without additional informationKT-56649K2 uses 0-index for line numbers rather than 1-indexKT-56521Static scope initializers sometimes not called when first accessed from interopKT-49182Strange cast from Unit to StringKT-55125Difference in generated bytecode for open suspend functions of generic classes
IDE. Gradle. Script
KT-56941Gradle KTS / Navigation: Go to declaration for Java types doesn't work
JavaScript
KT-56602KJS / Serialization: polymorphicDefaultDeserializer unbound on Kotlin 1.8.20-BetaKT-56580KJS: languageVersionSettings string is unstableKT-56581KJS: Lock file for incremental cacheKT-56582KJS: Function type interface reflection crashes the compiler in incremental buildKT-56469KJS: BE Incremental rebuild spoils source map comment
Libraries
KT-55935[Kotlin/JVM] Path.copyToRecursively does not work across file systems
Native
KT-56443Native link task reports w: Cached libraries will not be used for optimized compilation
Tools. CLI
KT-56789Metaspace memory leak in CoreJrtFileSystemKT-56992Performance test regression in Gradle when switching to Kotlin 1.8.20KT-56925Remove warning about assignment pluginKT-570771.8.20-RC-243shows Java 19 warnings even if configured with Java 17 toolchain
Tools. Compiler Plugins
KT-56487Add more methods to DescriptorSerializerPlugin
Tools. Compiler plugins. Serialization
KT-56738Unexpected SERIALIZER_NOT_FOUND when compiling against binary with enumKT-56990"AssertionError: SyntheticAccessorLowering should not attempt to modify other files" in kotlinx-serialization using@Serializerand List argument
Tools. Gradle
KT-56221Gradle KTS: False positiveVal cannot be reassignedwhen using an extension and its property with an implicitsetoperatorKT-55452Values of the compiler arguments set via KotlinCompile task configuration are duplicated by the KaptGenerateStubs taskKT-56645Gradle: KGP reports an incorrect resources processing task name for JVM projectsKT-55565Consider de-duping or blocking standard addition of freeCompilerArgs to KaptGenerateStubsTaskKT-56414Dependency locking and failed builds with Kotlin 1.8.10
Tools. Gradle. JS
KT-57068KJS / Gradle: "Unable to find method 'kotlin.gradle.targets.js.dsl.KotlinJsBrowserDsl.testTask'" after updating to 1.8.20-BetaKT-56999K/JS: KotlinJsIrLink::rootCacheDirectory property must be publicKT-56765K/JS: Several binaries use same cache directoryKT-56488Debugger won't stop on breakpoints of JS browser testKT-56719KJS / Gradle: Compile sync task has to sync only changed files
Tools. Gradle. Multiplatform
KT-56729commonizeCInterop: Duplicated libraries: co.touchlab:sqliter-driver-cinterop-sqlite3KT-56510Import with included plugin build may fail with OverlappingFileLockException during commonizeNativeDistribution
Tools. Kapt
KT-56635KAPT / IR: "Unresolved reference: DaggerGeneratedCodeTest_AppComponent " caused by stub generation with Kotlin 1.8.20-BetaKT-56360Kapt with JVM IR changes fields order
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.8.20-RC.zip | cd90d3fef3608f8866520c84f4fe729e6733b13cfa18bf93ebb52a2cf3f37b7b |
| kotlin-native-linux-x86_64-1.8.20-RC.tar.gz | 35296775617118bc2e703f3e226bbb827885765be7001a9ebcd5cb68783ce323 |
| kotlin-native-macos-x86_64-1.8.20-RC.tar.gz | f76faf8063d9d170db2dc5bb1b5d442787b0cf69983aa0605c1da22f31ef33b7 |
| kotlin-native-macos-aarch64-1.8.20-RC.tar.gz | 45694d385d09eb0eb075fa08b1bbf5000289120e6de677b71504481010a170a7 |
| kotlin-native-windows-x86_64-1.8.20-RC.zip | 9a0ce3887a4fc188b209a3ceff2b9235b2bd5ac965b1259b62ac91b9ea914b0f |