Kotlin M14
Pre-release
Pre-release
abreslav
released this
01 Oct 12:16
·
92773 commits
to master
since this release
What's new
- Language
- New syntax for backing field access
- Operators require a modifier (
operator
) - Compile-time constants are prefixed with
const
- Annotations on file classes supported
private
on the top level is now private to fileinternal
is checked in the compiler (not only IDE)private
in interfaces is truly private nowequals
in data classes compares arrays by calling their.equals()
method (which works by identity)lateinit
val
‘s are prohibited- many cases of inheritance and other degrees of freedom are prohibited for data classed (see this blog post)
protected
andinternal
members are prohibited in interfaces_
,__
,___
are forbidden as in identifiersidentityEquals()
function is deprecated in favor of===
- Standard Library API subdivided into part classes such as
CollectionsKt
- IDE
- Introduce backing property refactoring
- Move property initializer to declaration refactoring
- Add unambiguous imports on-the-fly
- Completion for overridden members