Kotlin 语言参考文档 中文版 Help

Kotlin language features and proposals

JetBrains evolves the Kotlin language according to the Kotlin language evolution principles, guided by pragmatic design.

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

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

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

最终更新: 2024/11/07