본문으로 건너뛰기

Kotlin 언어 기능 및 제안

JetBrains는 실용적인 설계를 바탕으로 Kotlin 언어 발전 원칙에 따라 Kotlin 언어를 발전시키고 있습니다.

노트

언어 기능 제안은 Kotlin 1.7.0부터 나열되어 있습니다.

언어 기능 상태에 대한 설명은 Kotlin 발전 원칙 문서를 참조하세요.

탐색 및 설계 (Exploration and design)

Kotlin statics and static extensions

탐색 및 설계 (Exploration and design)

컬렉션 리터럴 (Collection literals)

  • KEEP proposal: 정의되지 않음
  • YouTrack issue: KT-43871

탐색 및 설계 (Exploration and design)

오류 및 예외에 대한 Union types

  • KEEP proposal: 정의되지 않음
  • YouTrack issue: KT-68296

탐색 및 설계 (Exploration and design)

이름 기반 구조 분해 (Name-based destructuring)

  • KEEP proposal: 정의되지 않음
  • YouTrack issue: KT-19627

탐색 및 설계 (Exploration and design)

불변성 지원 (Support immutability)

KEEP 토론 (KEEP discussion)

KMP Kotlin-to-Java direct actualization

KEEP 토론 (KEEP discussion)

kotlin.time.Instant

KEEP 토론 (KEEP discussion)

Common Atomics and Atomic Arrays

KEEP 토론 (KEEP discussion)

속성에 대한 어노테이션 사용 위치 대상 개선 (Improvements to annotation use-site targets on properties)

KEEP 토론 (KEEP discussion)

중첩된 (캡처하지 않는) 타입 별칭 (Nested (non-capturing) type aliases)

KEEP 토론 (KEEP discussion)

KDoc 모호성 링크 간소화 (Streamline KDoc ambiguity links)

KEEP 토론 (KEEP discussion)

KDoc에서 확장 프로그램 링크 해결 (Resolution of links to extensions in KDoc)

KEEP 토론 (KEEP discussion)

Uuid

KEEP 토론 (KEEP discussion)

예상되는 타입을 사용하여 해결 개선 (Improve resolution using expected type)

KEEP 토론 (KEEP discussion)

JVM에서 boxed inline value classes 노출 (Expose boxed inline value classes in JVM)

KEEP 토론 (KEEP discussion)

명시적 backing fields: 동일한 속성에 대한 publicprivate 타입 모두 (Explicit backing fields: both public and private type for the same property)

KEEP 토론 (KEEP discussion)

Context parameters: context-dependent 선언 지원 (Context parameters: support for context-dependent declarations)

KEEP 토론 (KEEP discussion)

Java synthetic property references

미리 보기 (In preview)

when-with-subject의 Guard conditions

안정화 (Stable)

안정화된 @SubclassOptInRequired

미리 보기 (In preview)

Multidollar interpolation: 문자열 리터럴에서 $ 개선된 처리 (Multidollar interpolation: improved handling of $ in string literals)

미리 보기 (In preview)

Non-local breakcontinue

안정화 (Stable)

Enum.entries: Enum.values()의 성능이 좋은 대체 (performant replacement of the Enum.values())

안정화 (Stable)

Data objects

안정화 (Stable)

RangeUntil operator ..<

안정화 (Stable)

Definitely non-nullable types

취소됨 (Revoked)

Context receivers