Skip to content

Kotlin 1.6.21

Compare
Choose a tag to compare
@woainikk woainikk released this 20 Apr 07:40
· 23 commits to 1.6.20 since this release

Changelog

Compiler

  • KT-51979 "AssertionError: No modifier list, but modifier has been found by the analyzer" exception on incorrect Java interface override
  • KT-51893 Duplicated [OVERRIDE_DEPRECATION] on overridden properties
  • KT-51927 Native: The symbol of unexpected type encountered during IR deserialization error when multiple libraries have non-conflicting declarations with the same name
  • KT-51843 Functional interface constructor references are incorrectly allowed in 1.6.20 without any compiler flags
  • KT-51672 JVM IR: Inline class mangling issue in interface default methods split across multiple modules
  • KT-51711 Compiler warning is displayed in case there is 'if' else branch used with elvis
  • KT-49317 "IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter

IDE. Native

  • KTIJ-20819 Native debugging support: "Debug is impossible without lldb binaries required by Kotlin/Native" on "Attach to process"

JavaScript

  • KT-52010 K/JS IR: both flows execute when using elvis operator
  • KT-51973 KJS / IR overridden properties of inherited interface missing
  • KT-50504 KJS / IR: Transpiled JS incorrectly uses the unscrambled names of internal fields

Tools. Gradle

  • KT-51837 kotlin-gradle-plugin:1.6.20 fails xray scan on shadowed Gson 2.8.6.

Tools. Gradle. Multiplatform

  • KT-51810 MPP / Gradle: Dependency locking fails with 1.6.20
  • KT-51765 com.android.lint in multiplatform project without android target should not trigger warning

Checksums

File Sha256
kotlin-compiler-1.6.21.zip 632166fed89f3f430482f5aa07f2e20b923b72ef688c8f5a7df3aa1502c6d8ba
kotlin-native-linux-x86_64-1.6.21.tar.gz 14e7b9bee2e9ef7bff9a69881fef44d287bbb3adaa05396e0c03e77dfc9b0d3d
kotlin-native-macos-x86_64-1.6.21.tar.gz 61dfee00b11f3c27e349854b9a9d530ed86a882e6c8a81f77f16acecf9660eeb
kotlin-native-macos-aarch64-1.6.21.tar.gz c2734c651e680b85805c17488f31125220d96eca8e3ba89b5b58f07c61ff5239
kotlin-native-windows-x86_64-1.6.21.zip db8560138580038c23e88a7ceb6eb4e8a3ec7d7fd66218e82096d52402f280a8