Kotlin

詳細情報

タイトル Kotlin
URL https://kotlinlang.org/
バージョン ver 2.1.20
更新日 2025/03/20
追加日 2016/02/16
種別 フリーソフト
説明 JetBrainsが開発するJVM上で動作するプログラミング言語。

レビュー

Kotlinは、開発者をより幸せにするために設計された、モダンかつ成熟したプログラミング言語。簡潔で、安全で、Javaや他の言語と相互運用可能で、生産的なプログラミングを可能とするために、複数のプラットフォーム間でコードを再利用する多くの方法を提供する。

スクリーンショット

スクリーンショットはありません。

更新グラフ

Created with Highcharts 5.0.2Total更新回数24/0524/0624/0724/0824/0924/1024/1124/1225/0125/0225/0325/040123456

バージョン履歴

Kotlin 2.1.20

Changelog

Analysis API

Fixes

  • KT-68198 Analysis API: Support application service registration in plugin XMLs
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-73156 AA: type retrieval for erroneous typealias crashes
  • KT-71907 K2 debugger evaluator failed when cannot resolve unrelated annotation
  • KT-69128 K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested class
  • KT-71613 KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol
  • KT-71741
(省略されました)
Kotlin 2.1.20-RC3 Pre-release
Pre-release

Changelog

Compiler

  • KT-75578 K2: False negative [SUPER_CALL_WITH_DEFAULT_PARAMETERS] when calling the upper-class implementation of a method with the default value argument
  • KT-75965 The iOS app did not run successfully in Release mode

Native

  • KT-75807 CMP caching fails for iOS with Kotlin 2.1.20-RC2
Kotlin 2.1.20-RC2 Pre-release
Pre-release

Changelog

Compiler

  • KT-75649 K2: NPE on assigning platform type value to non-nullable lateinit var
  • KT-75483 Native: redundant unboxing generated with smart cast
  • KT-75526 Regression in K2 scripting: local name doesn't shadow one from the implicit receiver
  • KT-75444 Contradictions in the constraint system are ignored in case of multiple constraints from forking points
  • KT-75111 False negative "This declaration needs opt-in" for usage of enum entry with OptIn marker in another module
  • KT-74764 Nati
(省略されました)
Kotlin 2.1.20-RC Pre-release
Pre-release

Changelog

Compiler

  • KT-74929 False positive TYPE_PARAMETER_OF_PROPERTY_NOT_USED_IN_RECEIVER if it is used with T&Any
  • KT-74227 K2: "Cannot infer type for this parameter. Please specify it explicitly" caused by lambda in another lambda with a parameterized function type
  • KT-74474 K2: Report more precise diagnostic when last expression of non-unit lambda is a statement
  • KT-74478 K2: False negative RETURN TYPE_MISMATCH if the last statement of a lambda is indexed assignment
  • KT-74203 K2: False negative NO_ELSE_IN_WHEN of a generic
(省略されました)
Kotlin 2.1.20-Beta2 Pre-release
Pre-release

Changelog

Analysis API

  • KT-73156 AA: type retrieval for erroneous typealias crashes
  • KT-68198 Analysis API: Support application service registration in plugin XMLs
  • KT-69630 KAPT User project builds with KAPT4 enabled fail with Metaspace overflow

Analysis API. FIR

Performance Improvements

  • KT-74012 Redundant FirAbstractBodyResolveTransformerDispatcher.<init> CPU consumption
  • KT-73900 ContextCollectorVisitor#computeContext may spend significant time on <
(省略されました)
Kotlin 2.1.10

Changelog

Compiler

  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projectio
(省略されました)
Kotlin 2.1.10-RC2 Pre-release
Pre-release

Changelog

Compiler

  • KT-73858 Compose / iOS: NullPointerException on building
  • KT-74040 Compilation of inner class usage does not check the visibility of parent class during compilation in different rounds

Compose compiler

  • b/381407900 Avoid adding Compose annotations on synthetic classes
  • CMP-5680 Compose compiler: unexpected stability warnings for classes compiled with 2.0.10
Kotlin 2.1.10-RC Pre-release
Pre-release

Changelog

Compiler

  • KT-73454 K2: Fix type parameters mapping for typealiases with inner RHS
  • KT-73043 K2 Compiler does not allow references to inner constructors with typealiases
  • KT-73339 K2: "VerifyError: Bad type on operand stack" because of missing implicit cast on generic field receiver with star projection
  • KT-72585 K2: Compilation failure when upgrading to Kotlin 2.0.20+: Cannot replace top-level type with star projection: S
  • KT-73399 compile-time JVM codegen failure on a KProperty argument of a KSuspendFunction parameter
(省略されました)
Kotlin 2.1.20-Beta1 Pre-release
Pre-release

Changelog

Analysis API

  • KT-71907 K2 debugger evaluator failed when cannot resolve unrelated annotation
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-69128 K2 IDE: "Unresolved reference in KDoc" reports existing Java class in reference to its own nested class
  • KT-71613 KaFirPsiJavaTypeParameterSymbol cannot be cast to KaFirTypeParameterSymbol
  • KT-71741 K2 IDE. Classifier was found in KtFile but was not found in FirFile in libraries/tools/kotlin-gradle-plugin-
(省略されました)
Kotlin 2.1.0

Changelog

Analysis API

New Features

  • KT-68603 KotlinDirectInheritorsProvider: add an option to ignore non-kotlin results

Performance Improvements

  • KT-70757 Performance problem in KaFirVisibilityChecker for KaFirPsiJavaClassSymbol

Fixes

  • KT-70437 Class reference is not resolvable
  • KT-57733 Analysis API: Use optimized ModuleWithDependenciesScopes in combined symbol providers
  • KT-72389 K2: False positive "Redundant 'protected' modifier" for protected property inside protected constructor from private or internal class
  • KT-6
(省略されました)
Kotlin 2.1.0-RC2 Pre-release
Pre-release

Changelog

Compiler

  • KT-72345 K2: Method 'get' without @Override annotation not called
  • KT-73065 CCE with context receivers
  • KT-72996 false-positive unresolved reference error on an overloaded callable reference in a lambda return position on the left-hand size of an elvis operator

Compose compiler

  • CMP-6926 iOS compilation failure: Unresolved reference 'copy'

IR. Inlining

  • KT-72884 Internal error in body lowering: IllegalStateException: Can't inline g
(省略されました)