github JetBrains/kotlin v2.1.0-RC2
Kotlin 2.1.0-RC2

latest releases: build-2.1.20-dev-4424, build-2.1.20-dev-4422, build-2.1.20-dev-4408...
pre-release8 hours ago

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 given reference, it should've been lowered

JavaScript

  • KT-70533 KJS: changed string concatenation behavior in 2.0
  • KT-14013 JS toString produces different result for nullable/non-nullable ref to the same array
  • KT-43567 KJS: toString() method and string interpolation of variable produce different code
  • KT-72732 KJS / ES6: "SyntaxError: 'super' keyword unexpected here" with enabled -Xir-generate-inline-anonymous-functions and disabled arrow functions

Klibs

  • KT-72965 Ignore subclassOptInRequired constructor warning

Tools. Compiler Plugins

  • KT-72804 Regression in Kotlin 2.1.0: compilation fails when building iOS
  • KT-72824 Kotlin power-assert plugin StringIndexOutOfBoundsException

Tools. Gradle

  • KT-47897 Official Kotlin Gradle plugin api
  • KT-58858 Add KDoc documentation for Kotlin Gradle plugin API
  • KT-73076 Kotlin Gradle Plugin API Reference: adjust settings
  • KT-70543 Gradle: create migration guide for those who are using Kotlin compiler classes indirectly available in buildscripts

Don't miss a new kotlin release

NewReleases is sending notifications on new releases.