Changelog
Backend. IR
KT-42239
IR: Report compilation error instead of throwing an exception (effectively crash compiler) when some declaration wasn't found while deserialization
Compiler
New Features
KT-44373
FIR: support error / warning suppression
Fixes
KT-38342
FIR: Consider renaming diagnostic from AMBIGUITY to OVERLOAD_RESOLUTION_AMBIGUITYKT-38476
[FIR] Forgotten type approximationKT-44682
raw FIR: incorrect source for qualified accessKT-44813
FIR bootstrap: various errors in collection-like classesKT-45508
False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class memberKT-45578
REPL: Unresolved imports are cached for the subsequent compilationsKT-45685
JVM IR: capturing a variable into crossinline suspend lambda makes the function inside inline function no longer unbox ResultKT-46235
JVM IR: Stack overflow error on large expressionsKT-46578
JVM IR: IllegalAccessError accessing property delegated to java super class protected field referenceKT-46597
JVM IR: AssertionError: SyntheticAccessorLowering should not attempt to modify other files - crossinline accessorKT-46601
JVM / IR: IllegalStateException: "Can't find method 'invokeinvoke`" when default lambda takes inline class parametersKT-46759
JVM IR: CCE in LateinitUsageLowering on @JvmStatic lateinit property in objectKT-46777
[Native] [IR] Support suspend function as super typeKT-46802
JVM / IR: "UnsupportedOperationException: Unknown structure of ADAPTER_FOR_CALLABLE_REFERENCE" caused by function reference on @JvmStatic function with unused default parametersKT-46813
JVM / IR: "ClassCastException: Integer cannot be cast to class Result" with Flow andfold
methodKT-46822
JVM IR: StackOverflowError on compiling a large data classKT-46837
Backend Internal error: Exception during IR lowering: assert at IrOverridingUtilKt.buildFakeOverrideMemberKT-46921
JVM / IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" caused by crossinline parameter and label return
Docs & Examples
KT-33783
Document when a range created with rangeTo is empty
IDE
KT-44825
Can't open Kotlin compiler settings in newly created project
IDE. Gradle Integration
KT-45277
Wrong jvm target in gradle module in IDEA
IDE. Native
KT-39320
[Commonizer] Reduce memory consumption
JavaScript
KT-44394
KJS / IR:null
companion object for existed stdlib interfacesNodeFilter
andSVGUnitTypes
KT-45361
KJS / IR:IrConstructorCall
representing annotation always returnsUnit
KT-46859
Exception during IR lowering: NullPointerException was thrown at: optimizations.FoldConstantLowering.tryFoldingUnaryOps
Libraries
KT-46002
Support all Unicode digit chars in digitToInt (JS and Native)KT-46184
Equivalize isLowerCase and isUpperCase behavior in all platforms
Middle-end. IR
KT-40425
IrGenerationExtension. Support simple reporting to compiler output (for development/debug)KT-45308
Psi2ir: "AssertionError: TypeAliasDescriptor expected" caused by using typealias from one module as a type in another module without a transitive dependency
Native. ObjC Export
KT-38600
Kotlin MP iOS Target doesn't contain kdoc comments
Reflection
KT-10838
Provide sensible toString() for property accessors in reflection
Tools. CLI
KT-14772
ISE (FNFE "Not a directory") on compilation with destination argument clashing with an existing file which is not a directoryKT-18184
CompileEnvironmentException: Invalid jar path on "-d" with .jar in non-existing directoryKT-40977
Report a readable diagnostic on empty -J argument in CLI
Tools. Compiler Plugins
KT-45538
Serialization, JVM IR: "AssertionError: No such type argument slot in IrConstructorCallImpl" with inner classesKT-46469
Kotlin Lombok: accessors withAccessLevel.MODULE
fail to resolveKT-46529
Kotlin Lombok: with@Accessors
without explicitprefix
the prefix from lombok.config is not taken into accountKT-46531
Kotlin Lombok:lombok.getter.noIsPrefix
is processed depending on character case
Tools. Gradle
KT-24533
Kapt should not run when annotation processors are not configuredKT-46401
Deprecate 'kotlin.parallel.tasks.in.project' build propertyKT-46820
Gradle: kotlinc (1.5.0) race condition causes a NullPointerException
Tools. Gradle. JS
KT-46976
KJS: Broken support for dynamically createdwebpack.config.d
Tools. Gradle. Multiplatform
KT-46394
Multiplatform: Gradle 7 supportKT-46517
Add kotlin-project-model as api dependency to kotlin-gradle-plugin-api
Tools. Gradle. Native
KT-46680
Register concrete "embedAndSign" tasks instead umbrellaKT-46892
Kotlin Multiplatform Gradle Plugin: EmbedAndSign task always contains a default framework name
Tools. kapt
KT-31146
kapt: executableElement.getAnnotation(JvmOverloads::class.java) returns nullKT-35167
Kapt Gradle plugin doesn't handle --module-path javac argumentKT-41581
Kapt doesn't have line breaks between warnings
Checksums
File | Sha256 |
---|---|
kotlin-compiler-1.5.20-RC.zip | 3537d9e9c57f4afc4e8359f695da98f631319464ba1330c70b1b4aca5d30b84e |
kotlin-native-linux-1.5.20-RC.tar.gz | d84ea3f3187aaeb21cceb5402cc74951a7a737799ce68a701f58b76e5ef534a0 |
kotlin-native-macos-1.5.20-RC.tar.gz | b97b9cadb3791905dc15c090f3981dcb8a6eb4d31cf3721763070e12009d4b8e |
kotlin-native-windows-1.5.20-RC.zip | c4ba183f211652881434ce4b41bde87b626d319134f5163bb8c295c186f3e1d5 |