You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KT-55033 Make org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl#runTransaction an inline function
KT-54501 Improve code generation for inline classes with custom equals
Fixes
KT-56965 K/N: linkDebugFrameworkIosArm64 tasks failing with UnsupportedOperationException: VAR name:disposables type:com.badoo.reaktive.disposable.CompositeDisposable [val]
KT-56611 Native: new native caches are broken when KONAN_DATA_DIR is defined to a directory inside ~/.gradle
KT-55251 Enum.entries compilation error should be more specific
KT-56527 K2: "AssertionError: Assertion failed" during compilation in SequentialFilePositionFinder
KT-56526 InvalidProtocolBufferException on reading module metadata compiled by K2 in 1.8.20
KT-57388 Kapt+JVM_IR: "RuntimeException: No type for expression" for delegated property
KT-53153 Synthetic Enum.entries can be shadowed by user-defined declarations
KT-51290 "AssertionError: Parameter indices mismatch at context" with context receivers
KT-57242 Equals behaviour for value classes implementing interfaces is different between 1.8.10 and 1.8.20-RC
KT-57261 "IllegalArgumentException was thrown at: MemoizedInlineClassReplacements.getSpecializedEqualsMethod" when comparing non-inline class instance with an inline class instance
KT-57107 Handling of Windows line endings CRLF broken in latest snapshot with K2
KT-57117 K2: Compiler reports invalid columns in diagnostics in case of crlf line endings
KT-56500 The type parameter TYPE_PARAMETER name:E index:0 variance: superTypes:[kotlin.Any?] reified:false is not defined in the referenced function FUN LOCAL_FUNCTION_FOR_LAMBDA
KT-56258 VerifyError: Bad local variable type when using -Xdebug
KT-54455 Unexpected result of equality comparison of inline class objects
KT-56251 Generic Java synthetic property references don't work in K2
KT-55886 K2: Wrong code location mapping with Windows line endings
KT-43296 FIR: Complicated interaction between smart cast and inference leads to false-positive diagnostic
KT-57053 Problem around anonymous objects in inline functions
KT-54950 NoSuchMethodError on calling 'addAll' on inline class implementing mutable list
KT-56815 compileKotlin task is stuck with while(true) and suspend function
KT-56847 Unresolved reference to Java annotation in Kotlin class with the same name packages
KT-52459 Context receivers: AbstractMethodError caused by Interface method with both an extension and a context receiver is overriden incorrectly in subclasses
KT-56215 JVM: Object extension function nullable receiverο»Ώ null check false negative when object is null
KT-56188 K/N: AssertionError when casting SAM wrapper with generic type parameter
KT-56033 Restore 'isMostPreciseContravariantArgument' function signature for compatibility
KT-56407 Backend Internal error: Exception during IR lowering during :daemon-common-new:compileKotlin
KT-55887 K2. "IllegalStateException: org.jetbrains.kotlin.ir.expressions.impl.IrErrorCallExpressionImpl is not expected" on adding kotlin.plugin.jpa
KT-56701 K2 (with LightTree) reports syntax errors without additional information
KT-56649 K2 uses 0-index for line numbers rather than 1-index
KT-54807 K2. Support @OnlyInputTypes diagnostic checks (contains like calls)
KT-51247 "AssertionError: org.jetbrains.kotlin.ir.expressions.impl.IrFunctionReferenceImpl" caused by context receiver functional types
KT-55436 K1: implement warning about shadowing of the derived property by the base class field
KT-57388 Kapt+JVM_IR: "RuntimeException: No type for expression" for delegated property
KT-57242 Equals behaviour for value classes implementing interfaces is different between 1.8.10 and 1.8.20-RC
KT-57261 "IllegalArgumentException was thrown at: MemoizedInlineClassReplacements.getSpecializedEqualsMethod" when comparing non-inline class instance with an inline class instance
KT-56527 K2: "AssertionError: Assertion failed" during compilation in SequentialFilePositionFinder
KT-57107 Handling of Windows line endings CRLF broken in latest snapshot with K2
Tools. Gradle
KT-57296 Build statistics sending errors in case of buildSrc directory usage with kotlin-dsl plugin applied
KT-57460 Kotlin Gradle Plugin: Null this pointer in transformCommonMainDependenciesMetadata
KT-57306 [Kotlin 1.8.20-RC] GradleException: Could not load the value of field apiConfiguration of org.jetbrains.kotlin.gradle.plugin.mpp.compilationImpl.DefaultKotlinCompilationConfigurationsContainer
KT-57053 Problem around anonymous objects in inline functions
KT-56965 K/N: linkDebugFrameworkIosArm64 tasks failing with UnsupportedOperationException: VAR name:disposables type:com.badoo.reaktive.disposable.CompositeDisposable [val]
KT-56815 compileKotlin task is stuck with while(true) and suspend function
KT-56258 VerifyError: Bad local variable type when using -Xdebug
KT-56847 Unresolved reference to Java annotation in Kotlin class with the same name packages
KT-56526 InvalidProtocolBufferException on reading module metadata compiled by K2 in 1.8.20
KT-56500 The type parameter TYPE_PARAMETER name:E index:0 variance: superTypes:[kotlin.Any?] reified:false is not defined in the referenced function FUN LOCAL_FUNCTION_FOR_LAMBDA
KT-56611 Native: new native caches are broken when KONAN_DATA_DIR is defined to a directory inside ~/.gradle
KT-56215 JVM: Object extension function nullable receiver null check false negative when object is null
KT-56033 Restore 'isMostPreciseContravariantArgument' function signature for compatibility
KT-56407 Backend Internal error: Exception during IR lowering during :daemon-common-new:compileKotlin
KT-56701 K2 (with LightTree) reports syntax errors without additional information
KT-56649 K2 uses 0-index for line numbers rather than 1-index
KT-56521 Static scope initializers sometimes not called when first accessed from interop
KT-570771.8.20-RC-243 shows Java 19 warnings even if configured with Java 17 toolchain
Tools. Compiler Plugins
KT-56487 Add more methods to DescriptorSerializerPlugin
Tools. Compiler plugins. Serialization
KT-56738 Unexpected SERIALIZER_NOT_FOUND when compiling against binary with enum
KT-56990 "AssertionError: SyntheticAccessorLowering should not attempt to modify other files" in kotlinx-serialization using @Serializer and List argument
Tools. Gradle
KT-56221 Gradle KTS: False positive Val cannot be reassigned when using an extension and its property with an implicit set operator
KT-55452 Values of the compiler arguments set via KotlinCompile task configuration are duplicated by the KaptGenerateStubs task
KT-56645 Gradle: KGP reports an incorrect resources processing task name for JVM projects
KT-55565 Consider de-duping or blocking standard addition of freeCompilerArgs to KaptGenerateStubsTask
KT-56414 Dependency locking and failed builds with Kotlin 1.8.10
Tools. Gradle. JS
KT-57068 KJS / Gradle: "Unable to find method 'kotlin.gradle.targets.js.dsl.KotlinJsBrowserDsl.testTask'" after updating to 1.8.20-Beta
KT-56999 K/JS: KotlinJsIrLink::rootCacheDirectory property must be public
KT-56765 K/JS: Several binaries use same cache directory
KT-56488 Debugger won't stop on breakpoints of JS browser test
KT-56719 KJS / Gradle: Compile sync task has to sync only changed files
KT-55033 Make org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl#runTransaction an inline function
KT-33722 JVM: Result API causes unnecessary boxing
Fixes
KT-53153 Synthetic Enum.entries can be shadowed by user-defined declarations
KT-54140 SOE at IrBasedDescriptorsKt.makeKotlinType with mixing recursive definitely not nullable type with nullability
KT-56224 Clarify message "Secondary constructors with bodies are reserved for for future releases" for secondary constructors in value classes with bodies
KT-54662 K2: Assign operator ambiguity on synthetic property from java
KT-54507 K2: Wrong implicitModality for interface in FirHelpers
KT-55912 "UnsupportedOperationException: Unsupported const element type kotlin.Any" caused by kotlin fqn in annotation
KT-55251 Enum.entries compilation error should be more specific
KT-43296 FIR: Complicated interaction between smart cast and inference leads to false-positive diagnostic
KT-55483 K2: Fir is not initialized for FirRegularClassSymbol java/lang/invoke/LambdaMetafactory
KT-56188 K/N: AssertionError when casting SAM wrapper with generic type parameter
KT-54209 K2: false positive deprecation on a class literal with deprecated companion
KT-55408 K2: can't access indirectly inherited from a package-private class Java members through a type alias
KT-55116 K2: store static qualifiers in dispatch receiver field
KT-55436 K1: implement warning about shadowing of the derived property by the base class field
KT-54332 Add deprecation warning for false-negative TYPE_MISMATCH for KT-49404
KT-55597 K2. This type has a constructor, and thus must be initialized here error is missed for anonymous object inherits class with no-arg constructor
KT-52459 Context receivers: AbstractMethodError caused by Interface method with both an extension and a context receiver is overriden incorrectly in subclasses
KT-55296 Improve exceptions in serialization plugin
KT-55180 KJS: regression in serialization for Kotlin 1.8.0-beta
KT-54878 JVM/IR: java.lang.ClassCastException: class org.jetbrains.kotlin.ir.types.impl.IrStarProjectionImpl cannot be cast to class org.jetbrains.kotlin.ir.types.IrTypeProjection on serializer<Box<*>>()
Tools. Gradle
KT-50115 Setting toolchain via Java extension does not configure 'kotlinOptions.jvmTarget' value when Kotlin compilation tasks are created eagerly
KT-55222 Migrate AndroidDependencyResolver to the new Gradle API
KT-54993 Raise kotlin.jvm.target.validation.mode check default level to error when build is running on Gradle 8+
KT-54995 [1.8.0-Beta] compileAppleMainKotlinMetadata fails on default parameters with No value passed for parameter 'mustExist'
KT-45335 kotlinOptions.jvmTarget conflicts with Gradle variants
KT-55019 Gradle sync: UnknownConfigurationException when adding implementation dependencies to a Kotlin with Java compilation
KT-55004 jvmTarget value is ignored by depending modules if a task "UsesKotlinJavaToolchain" is configured for all project modules using allProjects {}
KT-54888 Add Gradle property to suppress kotlinOptions.freeCompilerArgs modification on execution phase
Tools. Gradle. JS
KT-55099 K/JS: Second declaration of JS target without compiler type report warning incorrectly
Tools. Gradle. Multiplatform
KT-54634 MPP: Test Failure causes: KotlinJvmTest$Executor$execute$1 does not define failure
Tools. Incremental Compile
KT-54144 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline function with custom JvmName
This is a technical release. It doesn't contain any fixes that aren't included in Kotlin 1.7.21.
Version 1.7.22 of the Kotlin plugin will not be available for downloading or installing in any IDEs.