Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 3.42 KB

LANGUAGE.md

File metadata and controls

61 lines (45 loc) · 3.42 KB

Kotlin language changes

1.7

Issue Component Incompatibility Summary
KT-46860 Core Source The type of safe call result is always nullable, even when the receiver of the safe call is non-nullable.
KT-41124 Core Source Prohibit access to uninitialized enum entries from the enum static initializer block when these entries are qualified with the enum name.
... (wip)

Reference: Compatibility guide for Kotlin 1.7.

1.6

Issue Component Incompatibility Summary
KT-47709 Core Source Warn about the when statement with a non-exhaustive enum, sealed, or Boolean subject
... (wip)

Reference: Compatibility guide for Kotlin 1.6.

1.5

Issue Component Incompatibility Summary
KT-27825 Core Source Outlaw non-abstract classes containing abstract members invisible from that classes.
KT-31227 Core Source Outlaw using array based on non-reified type parameters as reified type arguments on JVM.
KT-31567 Core Source Outlaw references to the underscore symbol (_) that is used to omit parameter name of an exception in the catch block.
KT-33917 Core Source Outlaw exposing anonymous types from private inline functions.
KT-35224 Core Source Outlaw passing non-spread arrays after arguments with SAM-conversion.
KT-35226 Core Source Outlaw usage of spread operator (*) on signature-polymorphic calls.
KT-35870 Core Source Outlaw secondary enum class constructors which do not delegate to the primary constructor.
... (wip)

Reference: Compatibility guide for Kotlin 1.5.


mics/May 2024