Kotlin v2.0.21 Help

Kotlin 语言特性和提案

JetBrains 根据 Kotlin 语言演进原则 逐步发展 Kotlin 语言,遵循务实的设计理念。

Exploration and design

Kotlin statics and static extensions

Exploration and design

Collection literals

  • KEEP proposal: Not defined

  • YouTrack issue: KT-43871

Exploration and design

Union types for errors and exceptions

  • KEEP proposal: Not defined

  • YouTrack issue: KT-68296

Exploration and design

Name-based destructuring

  • KEEP proposal: Not defined

  • YouTrack issue: KT-19627

Exploration and design

Support immutability

KEEP discussion

KMP Kotlin-to-Java direct actualization

KEEP discussion

Streamline KDoc ambiguity links

KEEP discussion

Resolution of links to extensions in KDoc

KEEP discussion

Uuid

KEEP discussion

Improve resolution using expected type

KEEP discussion

Expose boxed inline value classes in JVM

KEEP discussion

Explicit backing fields: both public and private type for the same property

KEEP discussion

Context parameters: support for context-dependent declarations

KEEP discussion

Guard conditions in when-with-subject

KEEP discussion

Stabilized @SubclassOptInRequired

KEEP discussion

Multidollar interpolation: improved handling of $ in string literals

KEEP discussion

Non-local break and continue

KEEP discussion

Java synthetic property references

Stable

Enum.entries: performant replacement of the Enum.values()

Stable

Data objects

Stable

RangeUntil operator ..<

Stable

Definitely non-nullable types

Revoked

Context receivers

Exploration and design

Kotlin statics and static extensions

Exploration and design

Collection literals

  • KEEP proposal: Not defined

  • YouTrack issue: KT-43871

Exploration and design

Union types for errors and exceptions

  • KEEP proposal: Not defined

  • YouTrack issue: KT-68296

Exploration and design

Name-based destructuring

  • KEEP proposal: Not defined

  • YouTrack issue: KT-19627

Exploration and design

Support immutability

KEEP discussion

KMP Kotlin-to-Java direct actualization

KEEP discussion

Streamline KDoc ambiguity links

KEEP discussion

Resolution of links to extensions in KDoc

KEEP discussion

Uuid

KEEP discussion

Improve resolution using expected type

KEEP discussion

Expose boxed inline value classes in JVM

KEEP discussion

Explicit backing fields: both public and private type for the same property

KEEP discussion

Context parameters: support for context-dependent declarations

KEEP discussion

Guard conditions in when-with-subject

KEEP discussion

Stabilized @SubclassOptInRequired

KEEP discussion

Multidollar interpolation: improved handling of $ in string literals

KEEP discussion

Non-local break and continue

KEEP discussion

Java synthetic property references

Stable

Enum.entries: performant replacement of the Enum.values()

Stable

Data objects

Stable

RangeUntil operator ..<

Stable

Definitely non-nullable types

Revoked

Context receivers

Last modified: 26 十一月 2024