Kotlin continues to stay up to date and updates and fixes the issues in Kotlin 1.5.0. Kotlin 1.5.20 has been released, and makes improvements in Java features and support.
The following are some of the updates and fixes in Kotlin 1.5.20.
Kotlin/JS IR backend migration guide.
Gradle improvements. Standard library improvements.
A lot of significant changes have been made in Kotlin 1.5.20. However, an essential bug fix is made that affects compatibility.
In the previous versions of Kotlin, the string constants with the incorrect
It is safe for app developers to update to 1.5.20. However, libraries compiled with 1.5.20 are not compatible with previous compiler versions of Kotlin.
The following is the list of changes and updates related to Kotlin/Native 1.5.20.
New features introduced to the Kotlin/Native 1.5.20
No error in Java generic class. With the nullable type argument in
@NotNull type parameter is utilized.
Support error/warning suppression.
Support nullability annotations at the module level.
No warnings based on
JvmInline annotation to be omitted for expected value classes.
-jvm-target 1.8 and above, does not declare footnotes on function type parameters into bytecode.
Some of the fixes related to the Kotlin/Native 1.5.20
Compiler are listed below.
Restrain the use of a type parameter associated with an extension property within a delegate.
Interpretation of annotation on return types and supertypes is not made.
Annotation mark is not interpreted in some instances for type annotations.
Prevent unsafe calls with expected
@NotNull T and presented
Kotlin generic parameter including
Kotlin/Native IR: Remapping of reference to expect characteristics in the actual declaration is not done.
Kotlin/Native: In general, the IR backend module’s
IrProperty.overridden symbols still can’t be used, as it does not function fully in
Int.MIN_VALUE is divided by -1, it either hangs or crashes.
Native. C Export
Native. ObjC Export
kdoc comments are not a part of
Kotlin MP iOS Target.
KMM: hard to pass an error to
Kotlin code from implementing
Kotlin method in
Native. Runtime. Memory
updateHeapRefon Apple platforms.
In MPP Gradle plugin, a framework packing task for
Kotlin/Native is presented.
When the download process is stopped,
stdlib is missing.
View all Courses