Update kotlin monorepo to v1.9.25
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| org.jetbrains.kotlin.jvm (source) | plugin | minor |
1.8.22 -> 1.9.25
|
| org.jetbrains.kotlin:kotlin-reflect (source) | dependencies | minor |
1.3.50 -> 1.9.25
|
| org.jetbrains.kotlin:kotlin-stdlib-jdk8 (source) | dependencies | minor |
1.3.50 -> 1.9.25
|
⚠ ️ WarningSome dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
JetBrains/kotlin (org.jetbrains.kotlin.jvm)
v1.9.25: Kotlin 1.9.25
Note: This is a technical release for IntelliJ IDEA.
Changelog
Tools. JPS
-
KT-69204Generate lookups in dumb mode for compatibility with ref index
v1.9.24: 1.9.24
Changelog
Backend. Wasm
-
KT-64890K/Wasm compiler crash with external class and Kodein
Compiler
-
KT-65235JDK 21 might lead to change in overloads resolution -
KT-66768K1: False positive UNRESOLVED_REFERENCE in super.getFirst/getLast call
Native
-
KT-67218Native: nested classes in kx.serialization ProtoBuf produce empty array for release binary
Tools. Gradle
Tools. Gradle. Multiplatform
-
KT-67127KMP: IDE Dependency Resolver for CInterops reports errors on linux and windows machines -
KT-66514Don't get output file from Cinterop task for IDE Import if host os doesn't support it
Tools. JPS
-
KT-65043JPS dumb mode should respect maps needed for the compiler
Tools. Wasm
-
KT-67785Kotlin/Wasm: Node.JS 22 does not need experimental-wasm-gc flag anymore -
KT-65864K/Wasm: update Node.js to 22.x
v1.9.23: Kotlin 1.9.23
1.9.23
Apple Ecosystem
-
KT-65542Cinterop tasks fails if Xcode 15.3 is used
Backend. Wasm
-
KT-64486Kotlin/Wasm/WASI exported function callback for coroutines support
Compiler
-
KT-53478Could not load module -
KT-66044JDK's new API is used over Kotlin's SDK functions -
KT-64640Prevent mutating SequenceCollection methods from JDK 21 be available on read-only collections -
KT-65441K1: Remove JDK 21 getFirst()/getLast() in (Mutable)List interfaces -
KT-65634K/N: data race during monolithic cache creation -
KT-53109CompilationErrorException generateUnboundSymbolsAsDependencies with builder inference and lambdas -
KT-52757Type inference for builders fails if inferred from a function
Tools. Gradle
-
KT-65792Add JSON build report -
KT-65091Update compiler metrics in build reports -
KT-62490KGP dropping resource directories
Tools. Gradle. JS
-
KT-64119K/JS: Migrate package manager from Yarn onto NPM -
KT-64561K/JS tests are not executed after upgrade to 1.9.22
Tools. Gradle. Multiplatform
-
KT-65954commonTest dependencies affect commoMainMetadata compilation
Tools. Gradle. Native
-
KT-64573Default value forproduceUnpackedKlibwas not provided
v1.9.22: Kotlin 1.9.22
Changelog
JavaScript
-
KT-63719KJS: Test results ignored for ES module kind -
KT-63808compileTestDevelopmentExecutableKotlinJs failed in JsIntrinsicTransformers
Native
-
KT-64139Weird bug with while and coroutine in Kotlin Native -
KT-63471linkDebugTestIosX64 Failed to build cache: NoSuchFileException bitcode_deps -
KT-63789Native: Incremental compilation problem with compose
Tools. CLI
-
KT-64485CLI: cache and optimize parsing of command-line arguments
Tools. Gradle
-
KT-63990"Cannot query the value of property 'buildFlowServiceProperty' because it has no value available" with Isolated Projects
Tools. Gradle. Native
-
KT-63363Kotlin Gradle Plugin:KotlinNativeHostSpecificMetadataArtifactbreaks configuration cache, implicitly includes output file as configuration cache input -
KT-63742Gradle wrongly caches Kotlin/Native compiler flags
Tools. JPS
-
KT-64305Kotlin JPS builder requests chunk rebuild with graph implementation -
KT-64112Avoid using IJ's JPS mappings in Kotlin JPS tests -
KT-63799Make plugin classpath serialization path agnostic
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.9.22.zip | 88b39213506532c816ff56348c07bbeefe0c8d18943bffbad11063cf97cac3e6 |
| kotlin-native-linux-x86_64-1.9.22.tar.gz | c2b0a6481ced5401db4a7028661c039b7466996efaa554bbcc6a3d421ac5e7d4 |
| kotlin-native-macos-x86_64-1.9.22.tar.gz | 4646c9bc289d48a228064f565f3a968dde3dcccd7821f403717c708f6ffa8285 |
| kotlin-native-macos-aarch64-1.9.22.tar.gz | 8a95c0e0eb46b41b6d02a1942dc7dfe8c70082a2a26679490a77cd486f0ec8dd |
| kotlin-native-windows-x86_64-1.9.22.zip | a9d7bcf38a41a84002ba7a733b08e97b554225a39656d5158fc31dc6d0acede4 |
v1.9.21: Kotlin 1.9.21
Changelog
Compiler
-
KT-62885Introduce a language feature entry for expect actual classes for easier configuration of MPP projects -
KT-63081Optimize new native caches: CachedLibraries.computeVersionedCacheDirectory()
Docs & Examples
-
KT-55619DocumentString.formatfunction
IDE. Gradle Integration
-
KT-62877Artifact files collecting for project configuration was finished. Resolution for configuration configuration X will be skipped
IDE. Gradle. Script
-
KT-60813Scripts: NoSuchMethodError: 'void org.slf4j.Logger.error(java.lang.String, java.lang.Object)' when dependency uses Slf4j API
JavaScript
-
KT-60785KJS: Destructured value class in suspend function fails with Uncaught TypeError: can't convert to primitive type error -
KT-63207KMP / JS: "TypeError: <mangled_name> is not a function" with 1.9.20 -
KT-62778package.json "main" field has .js extension when the result files have .mjs extension -
KT-61795KJS: Incremental Cache is not invalidated ifuseEsClassescompiler argument was changed -
KT-61957KJS: "Uncaught ReferenceError: entries is not defined" caused by enum class with@JsExportand Enum.entries call -
KT-62444KJS with commonJS modules should re-export in 1.9.20 -
KT-63184KJS / Serialization: JsExport on serializable interface creates erroneous TypeScript -
KT-62190KJS: "IllegalStateException: Expect to have either super call or partial linkage stub inside constructor" caused by Compose and useEsModules() -
KT-58685KJS: "IllegalStateException: Not locked" cused by "unlock" called twice
Klibs
-
KT-62515Interop klib of concurrent version is not accepted when building dependent project: "The library versions don't match"
Tools. CLI
-
KT-63139Incorrect kotlin implementation version (1.9.255-SNAPSHOT) in metadata info
Tools. Gradle
-
KT-63499Gradle: Source sets conventions are still registered
Tools. Gradle. JS
-
KT-59523MPP / KJS: ESM modules uses incorrect file extension on package.json (.mjs)
Tools. Gradle. Kapt
-
KT-63366Kapt processing fails with custom source sets
Tools. Gradle. Multiplatform
-
KT-32608Create JUnit-XML result file in multiplatform gradle build -
KT-63315Wasm gradle plugin DSL is invalid for parameterless wasmWasi method -
KT-63338[KMP] metadata task fails to find cinterop classes from dependency projects -
KT-63044KGP: Multiplatform - 8.4 configuration cache support -
KT-63011Apple Framework Artifacts is not connected to KotlinNativeTask -
KT-62601AS/IntelliJ exception after updating a KMP project with a macos target to Kotlin 1.9.20-RC
Tools. Incremental Compile
-
KT-61590K2/KMP: Expect actual matching is breaking on the incremental compilation
Tools. JPS
-
KT-63594ClassCastException in JPS statistics -
KT-63651Fix NPE in Kotlin JPS after enabling graph implementation of JPS
Tools. Kapt
-
KT-57389KAPT3 uses a Javac API for JCImport which will break in JDK 21 -
KT-60507Kapt: "IllegalAccessError: superclass access check failed" using java 21 toolchain
Tools. Scripts
-
KT-54819Scripts: Not able to use slf4j in .main.kts -
KT-61727Scripts: Maven artifacts resolution is slow
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.9.21.zip | cf17e0272bc065d49e64a86953b73af06065370629f090d5b7c2fe353ccf9c1a |
| kotlin-native-linux-x86_64-1.9.21.tar.gz | 965564bb599a95283307be31947386b61f0de79514e894b1f20f4fe728eee7cc |
| kotlin-native-macos-x86_64-1.9.21.tar.gz | 8f47cf1871bf0dfcacfc04e68ee71f2333a8a711ca25fd7a29e852eafe8da76e |
| kotlin-native-macos-aarch64-1.9.21.tar.gz | b3c45aa0a5aa08419bd79b06cb5bdeed32b30141a6a976b67ca91bb0959e28b7 |
| kotlin-native-windows-x86_64-1.9.21.zip | e917e67d5dfeb4683a413b932f080adef08ba48d8ede61fbb040f9c3481f7b3a |
v1.9.20: Kotlin 1.9.20
1.9.20
Analysis. API
New Features
-
KT-58834Analysis API: Add source shadowing feature to resolve extensions
Performance Improvements
-
KT-57515LL FIR: Performance bottleneck inCompositeModificationTracker.getModificationCount -
KT-59266K2: optimize FirElementBuilder.getOrBuildFir for elements outside body -
KT-59454K2: drop resolve from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarations -
KT-59453K2: completion regression from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarations -
KT-59189Analysis API: KtFirKDocReference.resolveToSymbols is slow -
KT-58125K2: LL FIR:KtToFirMapping.getElementis slow forKtUserTypes due to on-air resolution of types
Fixes
-
KT-59240K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)cannot be called from a transformer with a phase IMPORTS from superTypes -
KT-58499K2: FirLazyBlock should be calculated before accessing -
KT-57966K2: Analysis API: Reference Shortener does not work correctly when called on entire file -
KT-60954K2: Analysis API: Reference shortener does not work correctly with variable assignments -
KT-60940K2: Analysis API: Reference shortener incorrectly handles types in vararg parameters declarations -
KT-60488Analysis API: forbid providing custom KtLifetimeToken for every analyze call -
KT-60728K2: proper support for scripts in LL FIR transformers -
KT-59159K2 IDE: declaration is not found exception -
KT-59297K2: exception from body resolve leads to corrupted state and broken analysis -
KT-59077KtFirExpressionTypeProvider behaviour for KtSimpleNameReferences in function calls -
KT-60586K2: forbid analyze from write action -
KT-57743K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependencies -
KT-61026K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolve -
KT-61009K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource -
KT-60357K2 IDE. Reified types parameters are not resolved in a function body -
KT-60317K2 IDE. IAE "This method will only work on compiled declarations, but this declaration is not compiled" on invoking Find Usages for enum method in library -
KT-60706K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-common -
KT-60552K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformer -
KT-60641Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missing -
KT-60638K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource -
KT-54846Analysis API: add isExpect/isActual to KtSymbol -
KT-60448FirLazyResolveContractViolationException:lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS)cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen plugin -
KT-59342K2 IDE. FirLazyResolveContractViolationException:lazyResolveToPhase(TYPES)cannot be called from a transformer with a phase TYPES -
KT-59687K2: Implement proper body update for in-block modifications -
KT-59329Resolve Extensions reference resolution breaks Find Usages -
KT-60295K2: move checkIsResolved for annotations from LLFirAnnotationArgumentsLazyResolver to LLFirTypeLazyResolver -
KT-59758K2: Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImplWithoutSource from ReturnTypeCalculatorWithJump -
KT-60377K2 IDE: This method will only work on compiled declarations, but this declaration is not compiled -
KT-59685K2: rewrite on-air resolution -
KT-60132K2: properties and functions without a name should be re-analyzable as well -
KT-59199K2 IDE: PSI changes which do not cause OOB modifications can be unseen from the FIR elements -
KT-59667Analysis API: PsiInvalidElementAccessException from JavaClassifierTypeImpl.substitutor -
KT-59705KotlinExceptionWithAttachments: No fir element was found for getter -
KT-59697AA standalone: JRT module paths are not properly populated in Windows -
KT-59505K2: implicit type lazy resolution doesn't work for delegated declaration from other module -
KT-56426K2 IDE: Typealised functional types cannot be rendered -
KT-59598AA: stackoverflow while simplifying a type with a recursive type parameter -
KT-58497K2: Expected FirResolvedTypeRef for initializer type of FirPropertyImpl(Source) but FirImplicitTypeRefImplWithoutSource found -
KT-59511AA standalone mode creates Application Environment for tests -
KT-58161Analysis API: Make methods inKtCallResolverMixInmore distinctive based on their receiver/return type -
KT-59093Do not throw exception on KtCall resolution,KtCallElement.resolveCallshould returnnullon unknown cases -
KT-59243K2: FirLazyResolveContractViolationException:lazyResolveToPhase(IMPORTS)cannot be called from a transformer with a phase IMPORTS from permits types -
KT-58194K2: Low Level API: use smart pointers to store references to PSI from FIR declarations for JavaElement -
KT-59133K2: java.lang.IllegalStateException: Fir is not initialized for FirRegularClassSymbol -
KT-58174K2: LL FIR: Invalid type reference for T & Any type -
KT-52615LL FIR: build RAW FIR only by stubs -
KT-55053K2: Exception "lateinit property diagnostic has not been initialized" in FirBuilder -
KT-58580K2: LL FIR: Declarations provided by resolve extensions from a dependency module are not visible throughLLFirCombinedKotlinSymbolProvider -
KT-58992Analysis API: move org.jetbrains.kotlin.analysis.api.fir.utils.addImportToFile out of Analysis API -
KT-58727K2: AA FIR: implicit type in delegated function treated as error -
KT-58653K2: Analysis API: add functions for KtScope members access by name -
KT-57559K2 IDE: KotlinExceptionWithAttachments: Modules are inconsistent on intellij project -
KT-58262Analysis API: Declarations from Analysis API Resolve Extensions are not seen from completion -
KT-57455LL FIR: CombineAbstractFirDeserializedSymbolProviders in session dependencies (optimization) -
KT-57207LL FIR: CombineJavaSymbolProviders in session dependencies (optimization) -
KT-58546K2: LL FIR: support name collision in a designation path -
KT-58495K2: Lazy calculation is redundant -
KT-58500K2: null cannot be cast to non-null type org.jetbrains.kotlin.fir.FirPureAbstractElement -
KT-58493K2: Expected FirResolvedTypeRef for default value type of FirValueParameterImpl(Source) but FirUserTypeRefImpl found -
KT-58496K2: Expected FirNamedReference, FirErrorNamedReference or FirFromMissingDependenciesNamedReference, but FirExplicitSuperReference found -
KT-58491K2: Expected FirResolvedTypeRef or FirImplicitTypeRef for return type of FirDefaultPropertyBackingField(Synthetic) but FirUserTypeRefImpl found -
KT-56550LL FIR: implement parallel resolve for non-jumping phases -
KT-58503Analysis API: KtFirNamedClassOrObjectSymbol.visibility/modality do not trigger STATUS resolve -
KT-57623K2 IDE: ConcurrentModificationException from getSuperConeTypes -
KT-58083K2: LL FIR: implement FakeOverrideTypeCalculator
Android
-
KT-27170Android lint tasks fails in Gradle with MPP dependency
Backend. Native. Debug
-
KT-61131Virtual functions trampolines have invalid debug info
Backend. Wasm
Fixes
-
KT-60244K/Wasm: make the compiler compatible with Wasm GC phase 4 (Final) specification -
KT-61262K/Wasm: add a way to turn on k2 in wasm examples that don't use compose -
KT-61343K/Wasm: add a wasi example to kotlin-wasm-examples -
KT-62147[Kotlin/Wasm] Nothing typed when expression cause a backend error -
KT-59720K/Wasm: update to final opcodes -
KT-60834K/Wasm: investigate consequences of stopping usingbr_on_cast_fail -
KT-59294WASM: localStorage Cannot read properties of undefined (reading 'length') -
KT-60835K/Wasm: fix compatibility with Node.js 20.* -
KT-60113K/Wasm: illegal cast when using 1.9.20-dev -
KT-60496Compose-web Wasm crashes on remember { null } calls -
KT-58746K/Wasm: Make Arrays' constructors with size and lambda inline (similar to other implementations) -
KT-58993[K/Wasm] Fix w3c declarations with lambda parameters -
KT-59722K/Wasm: Support new encoding with flags for br_on_cast and br_on_cast_fail instructions -
KT-59713K/Wasm: Implement enumEntries intrinsic -
KT-59082WASM: NullPointerException caused by companion with String type constants -
KT-58941WASM Hang with extension delegate inside a Class -
KT-60200K/Wasm: generate types without supertypes properly -
KT-52178IR dump doesn't seem to work for Kotlin/WASM phases -
KT-59556Wasm: critical dependency when using with webpack -
KT-58681K/Wasm: division remainder has a wrong sign -
KT-56711Wasm: IllegalStateException caused by dynamic type
Compiler
New Features
-
KT-58551KMP: check all annotation from expect declaration are present on actual -
KT-58554KMP: restrict expect opt-in annotations and actual typealiases to annotations with special meaning -
KT-58545KMP: prohibit implicit actualization via Java -
KT-58536KMP: prohibitexpect tailrec/expect external -
KT-59764Make a frontend checker that reports cast to forward declaration as unchecked -
KT-60528Updates for JVM/IR backend of kotlin-atomicfu-compiler-plugin -
KT-59558Add support for creating annotation instances with type parameters -
KT-52367Devirtualization algorithm improvement -
KT-58652Native: Implement frontend checkers for HiddenFromObjC on classes
Performance Improvements
-
KT-59600K2: CFG: do not add edges to nested classes and functions -
KT-57860K/N: Functions with default arguments of value/inline class types have poor performance due to value class boxing
Fixes
-
KT-60387K2: IDE K2: "org.jetbrains.kotlin.fir.expressions.impl.FirArgumentListImpl cannot be cast to class org.jetbrains.kotlin.fir.expressions.impl.FirResolvedArgumentList" -
KT-61228False positive MUST_BE_INITIALIZED_OR_FINAL_OR_ABSTRACT_WARNING for effectively final properties -
KT-61643"Argument type mismatch" for mixed Java/Kotlin Project with Java 21 -
KT-62389JDK 21: Cannot access class 'TimeUnit'. Check your module classpath for missing or conflicting dependencies -
KT-56768K2. No error description on incomplete try catch declaration -
KT-52220FIR + LightTree - Consider building a single tree on parsing into LightTree -
KT-60601K2 / Maven: Overload resolution ambiguity between candidates inline method -
KT-62027"java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0" caused by ClassicExpectActualMatchingContext.kt when annotation@AllowDifferentMembersInActualused -
KT-62747Wrong warning message when overriding vararg with Array during actualization -
KT-62655Don't report a warning when new members and new supertypes are added to open expect actualization -
KT-62313Kotlin/Native Compiler crash: ClassCastException in IntrinsicGenerator -
KT-60902visibility vs upper bound expect actual matching conflict -
KT-61095K2: "IAE: source must not be null" from FirMultipleDefaultsInheritedFromSupertypesChecker -
KT-47567'Val cannot be reassigned' error not reported in unreachable code -
KT-59468K2: build realm-kotlin -
KT-62026KMP: Correctly handle a case when annotation on expect declaration is unresolved -
KT-59476K2: build ClashForAndroid -
KT-59487K2: build KSP-playground -
KT-47409K1/K2: Investigate and align inference for equality (==) operator -
KT-59393K2: Missing TYPE_ARGUMENTS_FOR_OUTER_CLASS_WHEN_NESTED_REFERENCED -
KT-62127"NoSuchFieldError: TRUE$delegate" on referencing companion's variable in submodule -
KT-62335Improve debuggability of code generator crashes -
KT-61165More than one overridden descriptor declares a default value for 'cause: Throwable?'. As the compiler can not make sure these values agree, this is not allowed -
KT-62263Turn "different expect/actual members" error into a warning -
KT-59969K2: Disappeared UNSUPPORTED_CONTEXTUAL_DECLARATION_CALL -
KT-61616K2:IrBuiltIns.extensionToStringfails during native compilation -
KT-59377K2: Missing CALL_TO_JS_MODULE_WITHOUT_MODULE_SYSTEM -
KT-61645K2/KMP: Set stdlib-native before stdlib-commonMain in dependencies for shared native metadata compilation -
KT-61924Native: problem with abstract fake override from Any -
KT-61933K2: "Argument type mismatch: actual type is 'Foo<kotlin/Function0<kotlin/Unit>>' but 'Foo<kotlin/coroutines/SuspendFunction0<kotlin/Unit>>' was expected" -
KT-59471K2: build multiplatform-settings -
KT-56077K2: build kotlinx.atomicfu -
KT-59465K2: build kotlinx-datetime -
KT-60824K2 IDE: FirSyntheticCallGenerator: IAE: List has more than one element -
KT-61856K2: "KotlinIllegalArgumentExceptionWithAttachments" on usage of javax.validation.constraints.Email.List -
KT-54792Store program order of properties inside@kotlin.Metadata -
KT-56083K2: build ktor -
KT-23861Expect annotation should not be applicable wider than the actual one -
KT-59466K2: build kotlinx-benchmark -
KT-60830KMP, K2: expect actual annotation IR checker doesn't unwrap actual typealiases to annotations -
KT-61668Put expect/actual diagnostics introduced in 1.9.20 release under 1.9 Language Version -
KT-61725KMP: Annotation matching requirement for expect/actual leads to errors for annotations with@OptionalExpectation -
KT-47892False negative BREAK_OR_CONTINUE_OUTSIDE_A_LOOP withcontinueininitblock insidefor -
KT-61784KMP: [DEFAULT_ARGUMENTS_IN_EXPECT_WITH_ACTUAL_TYPEALIAS] checker missed for companion functions -
KT-61173K2: FirProperty.hasBackingField is true for an expect val -
KT-59743K2: erroneous binding of typealias with two type parameters to a class with one type parameter -
KT-60650KMP: prohibit problematic actual typealiases -
KT-61461K2: Kotlin native metadata compilation breaks when stdlib is present in -libraries -
KT-61270Enabling Kotlin/Native caching causes 65K warnings from dsymutil when building Compose iOS app -
KT-58229K2/MPP/JVM: compiler codegen crash on call of inherited generic class's method with actual-typealias as value parameter -
KT-47702Support call of Java annotation constructor without specifying a default value -
KT-56460K2: Do not re-run DiagnosticCollectorVisitor from FirInlineDeclarationChecker.checkChildrenWithCustomVisitor -
KT-55933K2: False negative Overload resolution ambiguity for call functions with named parameters if one of params is vararg -
KT-59548FIR2IR: inconsistent generation of dispatch receiver for object methods -
KT-55072K2: False positive "suspension point is inside a critical section" -
KT-58778JVM IR inline: add fake variables for debugger -
KT-59404K2: Missing EXPECT_TYPE_IN_WHEN_WITHOUT_ELSE -
KT-59830K2. False negative [FINAL_SUPERTYPE] on extending final class through type alias -
KT-60580K2: Not supported: class org.jetbrains.kotlin.fir.types.ConeFlexibleType -
KT-59391K2: Missing JS_BUILTIN_NAME_CLASH -
KT-59392K2: Missing NAME_CONTAINS_ILLEGAL_CHARS -
KT-58360Intrinsics for atomic update of array elements -
KT-59165K2: Prohibit class literals with empty left-hand side -
KT-60427K2@Metadataannotations contain outerType/outerTypeId information for non-inner nested classes -
KT-59376K2: Missing TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM_ERROR -
KT-55221K2: No error reported for self-referencing local function with inferred return type -
KT-59586K2: support JVM backend diagnostics in light tree mode -
KT-57780K2: Calling a constructor through a deprecated typealias doesn't report a deprecation -
KT-59110K2. "NotImplementedError: An operation is not implemented." error on incorrect@Targetannotation -
KT-59249K2: Empty varargs are not serialized to KLIB -
KT-55373K2. Unresolved reference error for type mismatch with callable references -
KT-55955K2: callable references are not properly resolved when in conflict with expected type -
KT-60144JVM IR inline: backport primitive boxing in class literals -
KT-60779K2: missing INTERFACE_CANT_CALL_DEFAULT_METHOD_VIA_SUPER -
KT-60587K2: Implement warning NO_REFLECTION_IN_CLASS_PATH -
KT-61145False negative NOTHING_TO_OVERRIDE when context receivers don't match -
KT-59378K2: Missing FINITE_BOUNDS_VIOLATION and FINITE_BOUNDS_VIOLATION_IN_JAVA -
KT-61163Default params on actual check and inheritance by delegation compilation error -
KT-60800[atomicfu-K/N]: turn on the tests for the K/N part of the compiler plugin -
KT-61029K2: Duplicates when processing direct overridden callables -
KT-55196K2: False-negative CONST_VAL_WITH_NON_CONST_INITIALIZER on boolean .not() call -
KT-60862Kotlin Scripting: NoSuchMethodError for ExternalDependenciesResolver.addRepository -
KT-57963K2: MPP: Annotation calls should be actualized -
KT-60854K2: IrActualizer incorrectly generates fake overrides for synthetic java properties -
KT-59665ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTS isn't reported for actual typealias and fake-override actualization -
KT-61039False positive ABSTRACT_MEMBER_NOT_IMPLEMENTED in K1 when expect actual super types scopes don't match -
KT-61166Inherited platform declaration clash & accidental override -
KT-60531K2/JS: Report diagnostics before running FIR2IR -
KT-32275Embedding kotlin-compiler-embeddable into a Java EE App leads to CDI related deployment error -
KT-57845K2. Unresolved reference error on calling Java references with fully qualified name -
KT-58757K2: False-positive NON_PUBLIC_CALL_FROM_PUBLIC_INLINE error in case an inline fun is protected and is a part of an internal abstract class declaration -
KT-59736kotlinx.serialization + K2 + JS: e: java.lang.IllegalStateException: Symbol for kotlinx.serialization.json.internal/FormatLanguage.|-547215418288530576[1] is unbound -
KT-59071K2/MPP: internal declarations from common module are invisible in dependent source sets if there is more that one intermediate source set between -
KT-61167Runtime failure: ReferenceError: MyPromise is not defined -
KT-59408K2: Missing MULTIPLE_DEFAULTS_INHERITED_FROM_SUPERTYPES -
KT-61409Kotlin/Native: crash in kmm-production-sample (compose-app) with escape analysis enabled -
KT-57329K/N IR linkage issues due to the combination of static caches w/ Lazy IR & Compose compiler plugin -
KT-59247Kapt+JVM_IR: AssertionError on anonymous object in enum super constructor call -
KT-58576K2: IR actualization problems in MPP scenario -
KT-61442K2: Consider stricter filtering on implicit integer coercion -
KT-61441K2: Wrong overload is chosen with ImplicitIntegerCoercion enabled -
KT-59328K2: property with compound getter and without explicit type: compilation failure, IAE "List has more than one element" at FirDeclarationsResolveTransformer.transformFunctionWithGivenSignature() -
KT-61159K2: OVERLOAD_RESOLUTION_AMBIGUITY between private top-level property in same file and top-level property in different module -
KT-59233K2: false-negative diagnostic on creating a callable reference to a function with free type variables -
KT-61418k2: ImplicitIntegerCoercion to List leads to "IllegalStateException: Cannot find cached type parameter by FIR symbol" -
KT-61373False positive: "The opt-in annotation is redundant: no matching experimental API is used" with multiplatform code. -
KT-58884K2: NotAMockException for mock testing with lambda expression with Maven -
KT-58893K2: MockitoException for mock testing with lambda expression with Gradle -
KT-59483K2: Build a Native app -
KT-57738K2: unresolved class fields and methods in kotlin scripts -
KT-59449K2: Diagnostic messages contain debugging-style rendered FIR -
KT-59849K2: IllegalArgumentException: List has more than one element -
KT-57553Implement deprecation for open val with backing field and deferred initialization in K1 -
KT-57230Support Kotlin/Wasm in the K2 platform -
KT-59409K2: Missing DEFAULT_VALUE_NOT_ALLOWED_IN_OVERRIDE -
KT-59058Companion object is not initialized on class constructor call -
KT-61017K2: intermediate expect/actual class results in expected class has no actual declaration in module -
KT-60181K2: "NotImplementedError: An operation is not implemented" with Spring -
KT-59472K2: build Reaktive -
KT-54786MPP: "LazyTypeAliasDescriptor cannot be cast to class org.jetbrains.kotlin.descriptors.ClassDescriptor" caused by expected non-constant function argument on iOS if class is type aliased -
KT-59753K2: NotImplementedError when using annotation with vararg with default value from other module -
KT-60883K2: FixtestRequireKotlinCompilerVersionin LV 2.0 branch -
KT-59747K2: cannot actualize expect class to Unit via typealias -
KT-61054K2: "IAE: source must not be null" with -no-reflect on calling property getter with implicit invoke -
KT-57126[KLIB Reproducibility] Manifest is written using os-dependent line separators -
KT-60850K2: FIR2IR generates incorrect signature for fake overrides for common declaration if it called from a platform module -
KT-59218K2: return types of calls to@PolymorphicSignaturemethods inside try-expressions don't resolve to void when required -
KT-60002K2: Missing UNSUPPORTED_SUSPEND_TEST -
KT-61011K2 Scripts: FirRecursiveProblemChecker: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource -
KT-58906K2. "Backend Internal error: Exception during IR lowering" instead of CANNOT_INFER_PARAMETER_TYPE error when parameter type missing in lambda -
KT-59490K2: build km-shop -
KT-60163K2: vararg annotation argument value is serialized not as an array -
KT-59355K2: Allow to actual classifier have wider visibility than the corresponding expect class -
KT-56179[K2/N]interop_objc_tests/multipleInheritanceClash.kttest failed -
KT-59411K2: Missing ENUM_CLASS_CONSTRUCTOR_CALL -
KT-59410K2: Missing TYPEALIAS_EXPANDED_TO_MALFORMED_TYPE -
KT-59382K2: Missing PROTECTED_CONSTRUCTOR_NOT_IN_SUPER_CALL -
KT-59901K2: Disappeared API_NOT_AVAILABLE -
KT-60474K2: False negative type mismatch for array literal with wrong numeric literal -
KT-59610K2: Calls to annotations with default values are serialized differently in K1 and K2 -
KT-60139K2: Refactor handling of implicitly actual declarations (annotation & inline class constructors and property of inline class) -
KT-60793K2: IllegalStateException: Expected FirResolvedTypeRef with ConeKotlinType but was FirJavaTypeRef -
KT-60735K2: lateinit property diagnostic has not been initialized -
KT-60137K2: Quite complicated redeclaration error description is displayed for data classes -
KT-60639K2: IllegalStateException: Unsupported compile-time value GET_CLASS type=kotlin.reflect.KClass<p1.A> -
KT-56888CFA: Valid green in K1 -> red in K2.catch_end -> finally -> after_try -
KT-60723K2: Nested finally block has extra jump edge if surrounding try block jumps -
KT-60573K2: False positive/negative CONFLICTING_OVERLOADS for main functions -
KT-60124K2: Conflicting declarations on extension properties with different upper-bounded type parameter -
KT-60259K2: Reflection target is missing on adapted function refernces -
KT-59036InstantiationError when instantiating annotation with a parameter type as a default parameter of another annotation -
KT-59094K2: Fix Scripting K2 tests -
KT-59711K/N: Implement enumEntries intrinsic -
KT-59748K2: Return type mismatch: expected Unit, actual Any? for when with an assignment in branch -
KT-60154K2: Expected some types error -
KT-58139K2/MPP/metadata: compiler FIR serialization crash on complex expression as annotation argument -
KT-59485K2: build Anki-Android -
KT-59415K2: Missing DATA_CLASS_OVERRIDE_DEFAULT_VALUES_ERROR -
KT-59710K/JVM: Implement enumEntries intrinsic -
KT-57984K2/JS fails with IdSignature clash for inherited expect/actual function -
KT-59398K2: Missing NOT_SUPPORTED_INLINE_PARAMETER_IN_INLINE_PARAMETER_DEFAULT_VALUE -
KT-60645Native: dynamic caches are broken on Linux -
KT-50221FIR: handle enhanced/flexible nullability inside withNullability properly -
KT-59281JVM IR inline: incorrect type of created array -
KT-59507JVM IR inline: invocation of arrayOfNulls by function reference results in exception -
KT-58359Allow volatile intrinsics on inline function constant arguments -
KT-60598K2: add OptIn checkers for command line arguments -
KT-59766K2: ISE: Cannot find cached type parameter by FIR symbol during the coroutines library build -
KT-59644K2: the companion object in anexpectclass requires to be explicitly defined for compileNativeMainKotlinMetadata -
KT-59640K2:expectconstructor requires callingthisorsuperbut didn't use to -
KT-58883K2: False negative type mismatch for generic annotation in collection literal -
KT-59581K2: Initializer type mismatch: expected Array<KClass<*>>, actual Array<KClass> in annotation parameter default value using array literal -
KT-59069K2 does not report EXPECTED_CLASS_CONSTRUCTOR_DELEGATION_CALL -
KT-59416K2: Missing EXTERNAL_INTERFACE_AS_REIFIED_TYPE_ARGUMENT -
KT-59417K2: Missing CALL_FROM_UMD_MUST_BE_JS_MODULE_AND_JS_NON_MODULE -
KT-59381K2: Missing CALL_TO_JS_NON_MODULE_WITH_MODULE_SYSTEM -
KT-59384K2: Missing DYNAMIC_NOT_ALLOWED -
KT-59406K2: Missing PROPERTY_DELEGATION_BY_DYNAMIC -
KT-60247K2: order of data class generated member differs in IR -
KT-57223K2: false-negative INAPPLICABLE_JVM_NAME on non-final properties outside interfaces -
KT-60183K2: INAPPLICABLE_JVM_NAME on private methods with all-open plugin -
KT-60120K2 can't get a default parameter value of expect annotation -
KT-57240K2 MPP: Actualization doesn't work for flexible types -
KT-60436K2: investigate possible FirJavaTypeRef equals parameter in FirDataFlowAnalyzer.hasEqualsOverride -
KT-60299K2: when a typealias toUnitis returned, an explicitreturnis now required -
KT-58005K2: Unsupported compile-time value BLOCK for Repeatable annotations -
KT-60223K2: Wrong import with import alias -
KT-54854K2. Unresolved reference for not imported declaration when it is already imported as an import alias is absent in K2 -
KT-59738K2: NoSuchElementException from JvmValueClassLoweringDispatcher in MPP environment -
KT-59708K2: "Property must be initialized or be abstract" occurs due to constructors order -
KT-58483K2. -Xmulti-platform flag isn't working -
KT-53490FIR: Refactor augmented assignment resolving code - fix lhs-related problems and combine similar code in array and assign operator handling -
KT-59673K2: incorrect error message -
KT-58578K2: Commonize expect-actual logic between FIR and IR actualizer -
KT-54989FIR2IR: fragile code in postfix op detection -
KT-59464K2: Investigate cases of implicit type refs in Fir2IrImplicitCastInserter -
KT-53898K2: False negative VAL_REASSIGNMENT on member vals -
KT-57641K2: "java.lang.NoSuchFieldException: INSTANCE" in kotlin-reflect forKClass.objectInstanceon an anonymous object -
KT-59299[K2] ISE in IrBindablePublicSymbolBase.bind on equals function from companion of serializable class -
KT-58844Incorrect type mismatch error: "actual type is kotlin/Int but kotlin/Int was expected" -
KT-59413K2: Missing VALUE_CLASS_CANNOT_HAVE_CONTEXT_RECEIVERS -
KT-56173FIR: IrGenerationExtensions cannot see default values from expect declarations -
KT-59611FIR2IR: Unsupported callable reference for enum entry with clashing name -
KT-59858Kotlin Native: Compilation failed: Sequence contains more than one matching element, org.jetbrains.kotlin.backend.konan.lower.FunctionReferenceLowering$FunctionReferenceBuilder.buildClass(FunctionReferenceLowering.kt:644) -
KT-58539[K2] Ir actualization fails to match expect/actual declarations that use custom function types -
KT-59775'toString()' on Object returns different result with concatenation -
KT-59737K2: Actual class 'actual class FastArrayList : AbstractMutableList, MutableListEx, RandomAccess' has no corresponding members for expected class members because of different parameter names in Java -
KT-59613K2: Unhandled intrinsic in ExpressionCodegen exception in for expect function with default value in parameter -
KT-59216K2. Unhelpful unresolved reference when inheriting from interface with constructor call (K1 reports NO_CONSTRUCTOR instead) -
KT-59057Revise muted tests for native backend -
KT-57377K2/MPP: internal declarations from common module are inivisible for intermediate modules during metadata compilation -
KT-59693MPP: linkReleaseExecutableLinux fails with IllegalStateException: Drains have not been painted properly -
KT-59362K2/MPP:.toByte()conversion for const val causes SourceCodeAnalysisException: java.lang.NullPointerException: null -
KT-51670FIR: questionable behavior for deprecated String constructors -
KT-35314StackOverflowError with nested try-finally and function with contracts -
KT-53460False positive smartcast warning in if block after if block -
KT-40851False MUST_BE_INITIALIZED_OR_BE_ABSTRACT error for a property which is initialised in the init block -
KT-59695K2: false negative NON_PUBLIC_CALL_FROM_PUBLIC_INLINE -
KT-41198False positive “Variable must be initialized” with assignment in scope function and safe call -
KT-58901K2. Value parameter default values are not checked for type mismatch -
KT-48115Member functions with type parameter and contract don't produce smartcasts -
KT-59541K2: Type checking has run into a recursive problem on code that was compiling with Language 1.9 -
KT-58943K2: Incorrect with K1 priority of "invokeExtension + implicit receiver" candidate -
KT-37375[FIR] Incorrect invoke resolution -
KT-59789K2: self-reference does not compile anymore -
KT-59286JVM IR inline: local property not found -
KT-58823K2: Android app crashes right after start: java.lang.NoSuchMethodError: No virtual method findViewById(I)Landroid/view/View -
KT-57754K2: No public signature built for the synthesized delegate field -
KT-58533K2: "Not enough information to infer type variable T" for generic call in throw expression -
KT-34846FIR Java: enhance type parameter bounds properly -
KT-52043FIR: FirValueParameter with SubstitutionOverride does not reference the original FIR declaration -
KT-59291JVM IR inline: unexpected result ofapiVersionIsAtLeastinvocation -
KT-59550K2: synthetic property isn't seen through Java -
KT-59038[K2] IllegalStateException in mixed Java/Kotlin inheritance -
KT-59489K2: builld spring-petclinic-kotlin -
KT-58908K2. Internal error "kotlin.UninitializedPropertyAccessException: lateinit property firType has not been initialized" on incompleteis -
KT-56755K2: Investigate failures related to line numbers with LT compilation enabled -
KT-56139K2: consider adding source element for implicit receivers -
KT-57489K2: Incorrectly generated line numbers in companion object access inside class -
KT-58947Run all existing codegen box tests with kapt stub generation -
KT-58827K2 reports ACTUAL_WITHOUT_EXPECT on the whole class -
KT-54917K2: ILT leak from a completed generic call -
KT-56187K2: type parameter's upper bound is ignored in callable references -
KT-56186K2: lack of type arguments in type constructor is ignored in callable references -
KT-59356K2: Restrict rules for matching of expect supertypes for actual class -
KT-57217K2: NoSuchMethodError ontoCharcall on java inheritor of java.lang.Number -
KT-58356K2: StackOverflowError with OptIn and Deprecated, while compiling Kotlin project -
KT-57954K2. Auto-generated "entries" member of enum class has higher priority than user-declared companion object with same name when language version is set to 2.0 -
KT-59508K2: Make sure that warnings-severity nullability annotations are not perceived as reasons for nullability errors -
KT-53820FIR: mismatching error message for invisible reference/member -
KT-58641K2: PublishedApi has no effect when internal fun used in the test source set -
KT-59461K2: Erroneous null check when returning not-null typealias to nullable type -
KT-58980K2: Import of java field from companion's base breaks the compiler -
KT-59140K2: "Symbol public final static field is invisible" caused by java static field called in kotlin code -
KT-59501Escape analysis constructs arrays of negative size -
KT-59452apiVersionIsAtLeast calls in body of stdlib inline function may be evaluated on compile-time -
KT-53967[PL] Classifiers: Turning interface from fun to non-fun + adding member function causes Kotlin/JS fail: IAE: "Sequence contains more than one matching element" -
KT-59346Not working breakpoints on not initialized variables -
KT-55993Wrong current pointer: strange behaviour of debugger or compiler when two IFs and an uninitialized variable between them -
KT-58335K2: Exposed typealias from implementation dependency produces type mismatch in dependent module -
KT-58719K2: false-positive INVISIBLE_REFERENCE error in case of importing an internal abstract class -
KT-57694K2: False positive [NOTHING_TO_OVERRIDE] for a class overriding 'sort' method from the List collection -
KT-58460K2. return without argument became allowed for functions with return type Any -
KT-49249Incorrect nullability inferred for Throwable -
KT-57429K2: Fix computing a mangled name for members of a generic class that reference the class's type parameters in their signature -
KT-57566K2: Fix name mangling for functions that have dynamic type in their signature -
KT-57818K2: Fix FirMangleComputer to not include the "special" package name into mangled names of property accessors on non-JVM platforms -
KT-57777K2: Fix computing a mangled name for the synthesizedentriesproperty getter of an enum class -
KT-57433K2: Fix computing a mangled name for top-level functions and properties -
KT-58553k2: Annotation type arguments are lost in FIR2IR -
KT-58184K2: False negative INVISIBLE_MEMBER on destructuring declaration -
KT-58637K2: False negative ABSTRACT_MEMBER_NOT_IMPLEMENTED on Entry of Enum with abstract member declaration -
KT-54952JvmSerializationBindings does not work with K2 -
KT-54844FIR/Analysis API: create stubs for equals/hashCode/toString for data classes in FIR -
KT-58555K2: Generic property reference inside delegation misses type argument -
KT-57648FIR: move deprecation calculation on COMPILER_REQUIRED_ANNOTATIONS phase -
KT-57049K2 generates duplicates of symbols/declarations -
KT-55723K2: deprecations for enum entries are not resolved on the TYPES phase -
KT-59033Doesn’t support vararg parameter in annotation instantiation with empty arguments -
KT-58780JVM IR inline: local property delegation is not working for K2 -
KT-58779JVM IR inline: correctly process special inlined block in value class lowering -
KT-58720Generate full InnerClass attributes for the standard library -
KT-58215K2: JVM IR produces line numbers for delegation bridges that are not marked with ACC_BRIDGE -
KT-42696JVM IR generates line numbers for all bridges leading to extra steps in the debugger -
KT-57228K2: annotations for interface member properties implemented by delegation are copied -
KT-57216K2: non-trivial enum declaration does not have ACC_FINAL in the bytecode -
KT-55866K2: Constant as parameter of@JvmName: BE: "Unsupported compile-time value CALL private final fun " -
KT-58717Object on the left-hand side of callable reference is not initialized ifKCallable.nameoptimization is used -
KT-59211Kapt+JVM_IR: AssertionError on delegating to anonymous object -
KT-57251K2: weird error message when trying to instantiate anexpectclass without explicit constructor -
KT-58623Language version 2.0: compiling into common, Native does not report "Protected function call from public-API inline function is prohibited", while JVM, JS do -
KT-55945NoSuchMethodError when calling method with value class parameter on java class inherited from kotlin class -
KT-58840K1/K2: false positive EXPOSED_FUNCTION_RETURN_TYPE related to protected lower bound -
KT-57243K2: no warning or error reported on expect class in CLI, and JVM backend tries to generate it to a .class file -
KT-57833K2 reports NO_ACTUAL_FOR_EXPECT for inherited properties with the same name -
KT-58153K2/MPP/JVM&Native: cannot override Any::toString when an expect-supertype has Any::toString override in actual-class -
KT-58124K2: FIR2IR compiler crash with MPP (Fir2IrSimpleFunctionSymbol is already bound) -
KT-58346k2: false negative MUST_BE_INITIALIZED for deferred initialization -
KT-57803K2. "Kotlin: Only the Kotlin standard library is allowed to use the 'kotlin' package" error missing in 2.0 -
KT-57504[K2/N] Wrong coercion ofILT: 7to kotlinx.cinterop.COpaquePointer causesCannot adapt kotlin.Int to kotlinx.cinterop.CPointerduring autoboxing -
KT-57484K2: false positive OVERLOAD_RESOLUTION_AMBIGUITY with ImplicitIntegerCoercion -
KT-57971K1/K2: False positive "Redundant 'suspend' modifier" warning on declaration site when suspend function is also argument -
KT-56779Checkers false negative: AbstractMethodError when accessing setter via an interface where the member is defined as var, but it's val in implementation -
KT-51793FIR: Investigate property+invoke resolution priorities -
KT-57003FIR: missing annotation on parameter ofdataclass' syntheticcopy -
KT-57269K2: collection stub forsortis not generated for custom List subclasses -
KT-54748K2: incomprehensible errors when type parameter has the same name as a class -
KT-50703FIR: Improve reporting UPPER_BOUND_VIOLATED for type arguments of typealias constructor calls -
KT-57622Fix incorrect metadata for data class generated methods -
KT-54887K2: fix behavior of references to value classes equals/hashCode/toString -
KT-58937K2: Annotation vararg arguments are incorrectly serialized -
KT-58621K2: Private class shadows public function defined in the same package -
KT-59041K2. "IllegalStateException: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource " on incorrect collection declaration -
KT-58665K2: Optional.of incorrectly accepts nullable String -
KT-58938K2. Abstract class can be invoked using member reference::operator -
KT-50798FIR: False negative UPPER_BOUND_VIOLATED_IN_TYPEALIAS_EXPANSION -
KT-58944K2. StackOverflowError on incorrect intersection types -
KT-59241K2: broken inference of DNN types -
KT-58294K2 compiler crashes with OOM on deserializing annotation applied to itself with a enum outer/nested parameter -
KT-58972K2: Error message of PRIVATE_CLASS_MEMBER_FROM_INLINE doesn't mention class members -
KT-58989K2: Forbid suspend operator get/setValue and provideDelegate -
KT-59177K2: Report NAMED_ARGUMENTS_NOT_ALLOWED for named parameters in lambdas -
KT-57028K2: "NSEE: Sequence contains no element matching the predicate" with stream related Java api -
KT-58007K2: Unsupported compile-time value GET_FIELD FIELD PROPERTY_BACKING_FIELD when const value is default for annotation -
KT-58472Secondary constructor breaks MUST_BE_INITIALIZED check -
KT-59022Make is and as behaviour consistent in Native -
KT-58902K2: Calls to overridden method with default parameter are not compiled -
KT-58549K2: variable type is infered to non-existing interface -
KT-58613K2: ConcurrentModificationException from FirSignatureEnhancement.performFirstRoundOfBoundsResolution -
KT-55552K2. False negative TYPE_MISMATCH in implementation via delegation -
KT-57436Fix computing mangled names of generic properties from IR-based declaration descriptors -
KT-58543[K2/N] Rewrite native MPP tests to avoid expect actual in same module -
KT-57701Unify selection of inherited callable with default implementation among multiple candidates in JVM, Native & JS backends -
KT-58444K2/MPP/metadata: compiler FIR2IR crash on constant with intrinsic initializer from common source set in Native-shared source set -
KT-57756K2: Missing syntax errors when light tree parsing is used -
KT-57435Fix computing mangled names for functions with context receivers -
KT-57219K2: incorrect relative order of normal and use-site-targeted annotations on property getter in the resulting bytecode -
KT-57955K2: "ClassCastException: class org.jetbrains.kotlin.ir.declarations.impl.IrExternalPackageFragmentImpl cannot be cast to class org.jetbrains.kotlin.ir.declarations.IrDeclaration" with property delegate -
KT-58583K2: false-positive invisible reference error on nested anonymous object literal extending a protected nested class -
KT-57425K2: False-positive smartcast on property accessed through a property from another module -
KT-57844K2. Not relevant errors when accessing Java member which have private overloads with argument type mismatch -
KT-58584K2: "UninitializedPropertyAccessException: lateinit property packageFqName has not been initialized" -
KT-58529K2: "Extension function type is not allowed as supertypes" compile error -
KT-58379K2: NEW_INFERENCE_ERROR in sortedBy call with exception in branch -
KT-58284K2: False negative ITERATOR_MISSING -
KT-55078K2 IDE: Infinite recursion inorg.jetbrains.kotlin.fir.java.JavaScopeProvider#findJavaSuperClass -
KT-58080K2: False-positive TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM on annotated const val -
KT-58674K2: No expected type for while loop condition -
KT-56523K2 should report MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED -
KT-58238Support dumping signatures and mangled names in irText tests -
KT-58456K2: Custom function type metadata breaks Compose library compatibility -
KT-58267K/N: do not reference hidden Array.content* functions from the compiler -
KT-57791Native: Method returning String? leads to exception: Unexpected receiver type: kotlin.String -
KT-58437K2: Do not use descriptors in KonanSymbols -
KT-57432K2: Don't create default getters and setters in case when they are not needed -
KT-46047FIR: incorrect type of integer literals -
KT-57487[K2/N] Stdlib ArraysTest fails withClass found but error nodes are not allowed -
KT-56951K2: False negative error on compound assignment for property of type Byte -
KT-57222K2: compiler FIR serialization crash on two functions with captured type and object literal -
KT-58224K2: deprecation on field is not detected properly -
KT-55662K2. Incorrect type mismatch error "inferred type is IOT" instead of "inferred type is Int" -
KT-55668K2. 'in' modifier became applicable to star projection -
KT-57064K2: hidden internals of dealing with type-aliased primitive types are exposed to user -
KT-58252K2: Symbol already bound for backing field during building resulting JS artifact for MPP project -
KT-56940K/Wasm: report compiler errors for unsupported external declarations -
KT-56943K/Wasm: implement@WasmImportdiagnostics -
KT-55903K2: False negative CANNOT_CHECK_FOR_ERASED on is-check for type with reified type arguments -
KT-56944K/Wasm: implement@JsFundiagnostics -
KT-58329K2: False-positive suspend conversion for anonymous functions -
KT-58028K2: False-positive TYPE_PARAMETER_IS_NOT_AN_EXPRESSION
Docs & Examples
-
KT-60545Documentation change on Interoperability with Swift/Objective-C: highlight that it is not normal to suppress errors -
KT-50927Kotlin / Docs: Delete all the information about old Kotlin/Wasm -
KT-61398Advertise hierarchy templates in 1.9.20-Beta what's new
IDE
New Features
-
KTIJ-23199K2 IDE: Improve Import quick fix description -
KTIJ-26056Support highlighting of KNM files
Performance Improvements
-
KTIJ-26688UAST: optimize methodNameCanBeOneOf
Fixes
-
KTIJ-26782Internal error while highlighting "AndroidHighlighterExtension does not define or inherit highlightDeclaration" -
KTIJ-27188Bundled DevKit plugin + 1.9.20-Beta* constantly throws exceptions when opening another plugin codebase -
KTIJ-25220Kotlin not configured dialog does not show if Kotlin stdlib is anywhere on classpath -
KTIJ-25563Failed cinterop task becomes UP-TO-DATE and successfully passes on the second import -
KTIJ-26536IDE in Java file resolves to property with the same name instead of method in the nested class from library -
KTIJ-25126K2 IDE. No import quickfix for Java static members -
KT-60341K2 IDE: "UnsupportedOperationException: Unknown type CapturedType(*)?" -
KTIJ-25960K2 IDE: KDoc references to static java methods are not resolved -
KTIJ-7642HMPP, IDE: False positive ''suspend' modifier is not allowed on a single abstract member' for common code if JVM target present -
KTIJ-25745K2 IDE: "Type info" intention shows the return type of a functional type instead of the functional type itself -
KTIJ-26501K2: IDE K2: False positive unused import when declaration used for vararg parameter type -
KTIJ-26661K2 IDE. PIEAE “Element class CompositeElement of type FUN” after removing/putting back function with operator modifier -
KTIJ-26672K2 IDE: false positive in optimize import for ambiguity calls -
KTIJ-26760K2 IDE: OVERLOAD_RESOLUTION_AMBIGUITY false positive -
KTIJ-26867K2 IDE: rename refactoring doesn't rename subclasses if they are used in import directives -
KTIJ-26848K2 IDE: index inconsistency in case of "" name -
KTIJ-26666K2 IDE: changed FirFile is treated as fully resolved after in-block modification -
KT-59836Symbol Light Classes: Type parameters from the parent interface aren't copied to DefaultImpls methods -
KT-28611MPP: Gradle -> IDE: settings provided viacompilationsDSL are not imported into common modules facets -
KTIJ-25448When project JDK is less than one defines in jvmToolchain block, run with Idea fails withhas been compiled by a more recent version of the Java Runtime -
KT-60603K2: Investigate intellij tests failures in branch 2.0 -
KTIJ-25364K2 IDE: References to Java records are red: OVERLOAD_RESOLUTION_AMBIGUITY, UNRESOLVED_REFERENCE -
KTIJ-24390Kotlin assignment plugin: Imports are not recognized in build logic .kt files for Gradle build -
KT-60590Fix light classes related tests in branch 2.0 -
KT-60530K2 scripting: exception on .gradle.kts opening -
KT-60539K2: "KtInaccessibleLifetimeOwnerAccessException: org.jetbrains.kotlin.analysis.api.lifetime.KtReadActionConfinementLifetimeToken@3ce52fd9is inaccessible: Using KtLifetimeOwner from previous analysis" at highlighting -
KTIJ-26276K2 IDE: Optimize import drops used import alias -
KT-60518K2 IDE. False positive [NON_MEMBER_FUNCTION_NO_BODY] when completing function withComplete current statement -
KT-60323K2 IDE. "KotlinExceptionWithAttachments: Unexpected returnTypeRef. Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImpl" exception on contract return type -
KT-60352K2 IDE. Support Java Records -
KT-56503K2 IDE: FIR tree is incorrect in a case of ProcessCancelledException was thrown during phase execution -
KTIJ-25653K2 IDE. "KotlinExceptionWithAttachments: Containing function should be not null for KtParameter" exception on incorrect derived class declaration -
KT-59843SLC:KotlinAsJavaSupport.packageExists(viaKotlinStaticPackageProvider) said ROOT package doesn't exist if noKtFiles are given -
KTIJ-26206Support retrieving KtType from annotation constructor calls on getters and setters -
KT-59445Recursion detected on input: JavaAnnotationImpl -
KTIJ-26066K2 IDE. "KotlinExceptionWithAttachments: Unexpected returnTypeRef. Expected is FirResolvedTypeRef, but was FirImplicitTypeRefImpl" on attempt to set contract -
KTIJ-26085K2 IDE: treat psi modification of a contact inside a body as OOBM -
KTIJ-25869K2 IDE. Expected FirResolvedTypeRef for return type of FirValueParameterImpl(Source) but FirImplicitTypeRefImplWithoutSource was found -
KTIJ-24272K2 IDE: "Expected some types" -
KTIJ-24730K2 IDE. IllegalStateException on absence of opening bracket in main() function -
KT-59533AA/SLC: anonymous object appears during PsiType conversion, resulting in IllegalArgumentException:KtFirPsiTypeProviderKt.asPsiTypeElement -
KT-59563Symbol Light Classes: Incorrect type erasure in $annotations methods for extension properties with generic parameters -
KT-57567SLC: missingfinalmodifier on enum (non-synthetic) members -
KT-59537SLC: SymbolLightClassForAnonymousObject with null parent -
KTIJ-24121K2 IDE. "failed to convert element KtLightField" when trying to declare property after function that has return with type mismatch -
KTIJ-25335K2 IDE. "failed to convert element KtLightField:" on attempt to set property in class with constructor -
KT-59293Symbol Light Classes: DefaultImpls methods must be static and have an additional $this parameter -
KTIJ-25976K2 IDE: Fix "Unsupported compiled declaration of type" for type parameters -
KT-59325Symbol Light Classes: Non-existing fields for properties from companion objects -
KT-57579SLC: unboxed type argument as method return type -
KT-54804Generate synthetic functions for annotations on properties in light classes -
KT-56200Kotlin FIR reference resolve exception leaks user code -
KT-58448K2 / IDE / SLC:findAttributeValuefor attribute w/ default value raises ClassCastException
IDE. Completion
Fixes
-
KTIJ-26518K2 IDE: Code completion does not insert import when completing a type in the vararg position -
KTIJ-26713K2 IDE: Code completion does not insert import when completing a type inside a functional type -
KTIJ-26597K2 IDE: "Change return type" quick fix adds full qualified name to anonymous function -
KTIJ-26384K2 IDE: Extension functions completion should recognize context receivers -
KTIJ-26419K2 IDE: Completion in anonymous function inside when branch expression does not account for smart cast -
KTIJ-26629K2 IDE: Completion of types in anonymous function return is not shortened -
KTIJ-26599K2 IDE: Typingdo ... whilestatement: InvalidFirElementTypeException: "For DO_WHILE with text... FirExpression expected, but FirDoWhileLoopImpl found" -
KTIJ-26113K2 IDE: Completion in when branch does not account for smart casts ifelsebranch is present -
KT-60451K2 IDE: FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtProperty, fir is class org.jetbrains.kotlin.fir.expressions.impl.FirBlockImpl -
KTIJ-21103FIR IDE: implement completion In Kdoc -
KTIJ-24096K2 IDE: Completion should insert the fully-qualified class name when the short class name clashes with a name from scope -
KTIJ-25116K2 IDE: Name shortening in constructor's parameters affects constructor -
KTIJ-19863Bad completion variants inside annotations
IDE. Decompiler, Indexing, Stubs
-
KTIJ-26706Bytecode viewer: "IllegalStateException: Couldn't find declaration file" for a file with a delegated property with inline accessor in another module -
KTIJ-25465IDE hangs when indexing Kotlin project -
KTIJ-25979K2 IDE: 'java.lang.IllegalStateException: Attempt to load decompiled text, please use stubs instead' exception if navigate to the decompiled KGP sources -
KTIJ-25985Stub mismatch for names with special characters
IDE. Gradle Integration
-
KTIJ-25334Gradle 8.1: Unresolved references in IDE for build.gradle.kts -
KT-61777Explicit API mode isn't reflected in IDE settings unless every task is configured with Gradle -
KTIJ-26306apiLevel (API version) for Kotlin/Native modules is set to 1.8 with KGP 1.9 and IDE Plugin 1.9.0-XXX, if the compiler bundled to IDE Plugin is still 1.8 -
KT-61172MPP: Stacktraces of diagnostics are always printed during IDEA sync -
KT-48554[Multiplatform Import] Ensure consistency betweenGradleImportPropertiesandPropertiesProvider -
KT-36677MPP Gradle plugin doesn't respect manually set compiler arg-opt-in -
KT-58696MPP + IDEA: tryK2 does not affect LV value of common facets -
KT-53875Warn users about erroneously adding dependsOn fromtesttomain -
KTIJ-23890Gradle to IDEA import: "You are currently using the Kotlin/JS Legacy toolchain" balloon is shown when I actually use IR
IDE. Gradle. Script
-
KTIJ-25523Scripts: support for standalone configuration flag -
KTIJ-25910Scripts: transition to GistStorage -
KTIJ-26778Gradle 8.3: some parts of build.gradle.kts look unresolved -
KTIJ-26308IAE “Unable to find script compilation configuration for the script KtFile: build.gradle.kts” on reopening project with build.gradle.kts -
KT-60171K2 IDE: scripting freeze on kotlin project build.gradle.kts file -
KT-60236K2 scripting: completion fails with exception -
KT-59801K2 IDE: Adding of an import with a task name to a build script leads to unresolved references -
KT-60749Scripting: default definition as a fallback -
KT-60199K2 scripting: exception on script opening -
KT-60193K2 scripts: configuration discovery fails silently from time to time
IDE. Hints. Parameter Info
-
KTIJ-26824K2 IDE: "Parameter Info" shows incorrect overload as selected
IDE. Inspections and Intentions
New Features
-
KTIJ-26302K2 IDE: Support adding a@OptInannotation and suggesting to propagate opt-in requirement in quickFixes -
KTIJ-25002Provide a quick fix to migrate use-site 'get' annotations on getters
Fixes
-
KTIJ-24832K2 IDE: 'Redundant qualifier name' false positive for nested classes from supertypes on the outside of a class -
KTIJ-26103K2 IDE: False positive in redundant qualifier inspection -
KTIJ-26024K2 IDE: False positive "Redundant qualifier" inspection on a nested class which extends its outer class -
KTIJ-26576K2 IDE: "Redundant qualifier" false positive with referring parent's subclass in type constraint -
KTIJ-26785K2 IDE: False positive "Redundant qualifier" inspection in extension function for Java interface with nested interface -
KTIJ-26695K2 IDE. False negative "Redundant qualifier" directive for invoke function from object -
KTIJ-26627K2 IDE: False positive "Redundant qualifier" inspection on extension property called on object when other 'this' is present in scope -
KTIJ-23407K2 IDE. False positive unused import directive for invoke function from object -
KTIJ-26808K2 IDE. "Redundant qualifier" inspection on the receiver of static method from Java may change semantic when receiver is not direct parent -
KTIJ-26840K2 IDE. False positive "Redundant qualifier" inspection when accessing companion object member inside anonymous object and there is a name clash -
KTIJ-26498KMP: Create expect-actual dialog selects incorrect path on Windows -
KTIJ-24877K2 IDE. False negative unused import directive when declaration is available in file indirectly -
KTIJ-25368K2 IDE. Specify type explicitly intention does not work with Java records
IDE. JS
-
KTIJ-25023K/JS: Remove balloon warning about migration to IR backend
IDE. Libraries
-
KTIJ-13660MPP library: No gutters forexpectandactualsymbols
IDE. Misc
-
KT-60053IdeaKotlinBinaryCoordinates doesn't respect capabilities and classifier attributes
IDE. Multiplatform
Fixes
-
KTIJ-26700KMP: false positive report of non matching expect and actual annotations if annotation is actual typealias -
KTIJ-25997KotlinMPPGradleTestTasksProvider: Support jvm targets with other names (such as android) -
KT-61686Check and update places in compiler and IDE where we are saying that MPP is experimental/Beta/Alpha -
KTIJ-27058Wizard's KMM application failed to build in 232 AS -
KT-59760[BUG] Use bundled version of Kotlin IDE Plugin in KMM Tests instead of custom -
KT-61520Sources.jar is not imported for common and intermediate source-sets from the MPP library -
KTIJ-25842MPP: New create expect/actual dialog uses deprecated location for android instrumented actual counterpart -
KTIJ-25746MPP: Unable to distinguish android unit and instrumented tests in new create expect/actual dialog if instrumented tests are depends on common -
KT-60410Add minimum supported KGP version in intellij.git infrastructure -
KT-59794Bump used KGP in multiplatform intellij.git tests after release 1.9.0 -
KT-59518Cherry-pick old-import tests into 231-1.9.0/master -
KT-56736Investigate how-to run multiplatform tests on real devices -
KT-59519Bump AGP versions in intellij.git tests in master -
KTIJ-25591MPP: Create expect/actual dialog doesn't allow selecting all targets -
KT-56684Adopt KMM UI tests to be used with IDEA -
KT-50952MPP: Commonized cinterops doesn't attach/detach to source set on configuration changes
IDE. Navigation
-
KT-61894Navigation from java sources leads to Kotlin decompiled code in case of suspend function -
KTIJ-27053Value parameters documentation of expect isn't shown in actuals -
KTIJ-26292Documentation for expect/actual comes from a random actual -
KTIJ-26441K2 IDE: navigation doesn't work when type parameters are missed in annotation call -
KTIJ-26566K2 IDE: don't show no-name parameters in presentations -
KTIJ-25366K2 IDE. Go to declaration of Java record shows record and constructor
IDE. Refactorings. Rename
-
KTIJ-25762K2 IDE. label rename doesn't change it's name in usages after rename refactoring
IDE. Script
-
KTIJ-25989java.lang.NullPointerException: Cannot invoke "com.intellij.openapi.vfs.VirtualFile.getPath()" because the return value of "java.lang.ThreadLocal.get()" is null -
KT-60519Analysis API: scripts are not invalidated on PCE -
KTIJ-26670K2 Scripts: We should be able to find a symbol for -
KTIJ-25731KtAssignResolutionPresenceService is not available as a service in 231-1.9.20 -
KT-60307K2 IDE. KotlinExceptionWithAttachments in script file
IDE. Wizards
-
KTIJ-27005Wizards 232: Fix generated kotlin version for 1.9.20-Beta -
KTIJ-26846Adjust compatibility data for 1.9.20 release -
KTIJ-264791.9.20: Update versions in wizards -
KT-59347Rename Compose Multiplatform wizard to Compose for Desktop
IR. Interpreter
-
KT-60467"InternalError: Companion object * cannot be interpreted" caused by java's package name -
KT-60744Restore binary compatibility of toIrConst function
IR. Tree
-
KT-59771Restore compatibility of IdSignature.CommonSignature -
KT-59772Restore compatibility of IrFactory#createFunction -
KT-59308Auto-generate the IrFactory interface
JS. Tools
-
KT-44838Kotlin/JS source-map-loader slow performance since 1.4.0
JavaScript
New Features
-
KT-58684KJS: ES15 classes — creating instance by class
Performance Improvements
-
KT-58187KJS / IR: Huge performance bottleneck while generating sourceMaps (getCannonicalFile)
Fixes
-
KT-60425Kotlin/JS compiler incorrect behavior for object singleton with CompleteableDeferred -
KT-62790java.lang.ClassCastException in compiler when ::class is used -
KT-60495K2: Make JS CliTestGenerated working with K2 -
KT-6168Ability to generate one JS file for each Kotlin source file -
KT-60667K2 / KJS: jsTest fails with "SyntaxError: Unexpected token '}'" on runtime -
KT-61581KJS: generate separate imports for useEsModules() -
KT-56737K2: build Space JS -
KT-59001K/JS: Use open-addressing hash map in JS stdlib -
KT-60131KJS: Interference between@JsExportand final implementation of properties -
KT-59712K/JS: Implement enumEntries intrinsic -
KT-60202JsExport.Ignored internal extension still has "JavaScript name () generated for this declaration clashes with another declaration" -
KT-51333KJS: someKTypeequalsNothing'sKTypethrows an exception, breaking its symmetry -
KT-58857KJS/IR: js file is not generated when source is stored in /var folder -
KT-53482KJS: Inheritance from JS class fails in ES6, because constructor is not called with new -
KT-58891K/JS: non-local return in lambda may leave an unreachable JS code after return -
KT-49077KJS / IR: Wrong method called when using overloaded methods and class with the same name -
KT-59718K/JS: Concatenating a String with a Char can lead to boxing of the Char -
KT-59717K/JS: a redundant boxing of a returned Char from an inline function -
KT-39506Kotlin/JS browser application using JS IR and React fails in runtime with "TypeError: _this__0._set_name__2 is not a function" -
KT-59151K2 / KJS: NullPointerException in Fir2IrClassifierStorage.preCacheBuiltinClasses -
KT-59335K/JS ES6 classes: A child constructor, when using parent secondary constructor super call, creates a parent object -
KT-58797Optimize the code generated for objects on JS and Wasm backends -
KT-52339FIx failing JS tests after bootstrap update -
KT-46643KJS / IR: Setter of overridden var of external val is removed -
KT-55315IR: can't access thestackproperty ofThrowable -
KT-59204Automatically generate NATIVE directive in tests for IR signatures -
KT-59239K/JS: Bridge not generated for checking parameter type in generic class override -
KT-57347KJS: BE IR Incremental cache invalidation doesn't work after inserting Partial Linkage stub -
KT-58599KJS: Adding an override method to open class does not rebuild children JS code -
KT-58003K2/MPP/JS: compiler IR serialization crash on multiple calls to inherited expect-function -
KT-38017KJS: tests generate invalid code depending on file names -
KT-25796KJS: Top-level constructs are put in an incorrect order -
KT-58396KJS / IR: "IllegalStateException: Validation failed in file" with Enum.entries and inheritance
KMM Plugin
-
KTIJ-27158Import is failing after creation of new module if project don't use versionCatalog -
KT-59492KMM AS plugin for Canary 231 reports error
Klibs
-
KT-58877[klib tool] add ability to dump klib ir -
KT-54402Programmatic API to dump public signatures from KLibs -
KT-60576Keep supported IR signature versions in manifest -
KT-59136[PL] Lower the default PL engine messages log level down to INFO -
KT-59486klib: Serialize mangled names along with signatures
Language Design
-
KT-22841Prohibit different member scopes for non-final expect and its actual -
KT-49175Inconsistency with extension super-type allowance between suspend / non-suspend function types -
KT-61573Emit the compilation warning on expect/actual classes. The warning must mention that expect/actual classes are in Beta -
KT-57614KMP: consider prohibitingactual typealiaswhen the correspondingexpect classhas default arguments -
KT-27750Reverse reservation of 'yield' as keyword
Libraries
New Features
-
KT-59440Rework Flags API in kotlinx-metadata-jvm
Fixes
-
KT-62381K/Wasm: (re)publish libraries with 1.9.20-Beta2 (or newer if available) -
KT-62656Drop@AllowDifferentMembersInActualfrom stdlib -
KT-58887Reflection: "IllegalArgumentException: argument type mismatch" when using reflection to invoke a value class returning function that suspends -
KT-61507Native: enum hashcode is not final -
KT-56106Migrate stdlib to current Kotlin Multiplatform Plugin -
KT-58402Migrate Vector128 from kotlin.native to kotlinx.cinterop -
KT-60911Compatibility publishing of kotlin-stdlib-common -
KT-53154Deprecate enumValues and replace it with enumEntries in standard library -
KT-58123Update deprecations in native atomic classes for 1.9.20 -
KT-60444transformJvmMainAtomicfu fails with java.lang.NoSuchMethodError: 'kotlin.Metadata kotlinx.metadata.jvm.KotlinClassMetadata.getAnnotationData()' -
KT-61342kotlin-test-wasm-* artifacts include test code -
KT-61315Publish common sources in kotlin-test-js sources jar -
KT-56608WASI Preview1 version of Kotlin/Wasm stdlib -
KT-55765Review and stabilize stdlib surface available in K/N -
KT-55297kotlin-stdlib should declare constraints on kotlin-stdlib-jdk8 and kotlin-stdlib-jdk7 -
KT-57838Native: raise ExperimentalNativeApi opt-in requirement level to ERROR -
KT-61028Behavioural changes to the Native stdlib API -
KT-61024Native: Mark the kotlin.native.CName annotation with ExperimentalNativeApi -
KT-61025Native: Deprecate HashSet.getElement() with WARNING -
KT-53791Publish standard library as a multiplatform artifact with Gradle metadata -
KT-57363Remove reified constraint from Array constructors in platforms where Array type parameter is not required to be reified -
KT-57401Native: Regex matching zero length should split surrogate pairs -
KT-57359Provide Common StringBuilder.append/insert with primitive type arguments -
KT-58264K2: republish kotlinx.metadata to support LV 2.0 -
KT-57710Native: Internalize@Retainand@RetainForTargetannotations -
KT-57720Native: Consider strictening NativeRuntimeApi opt-in requirement level to ERROR -
KT-57837Deprecate kotlin.native.SharedImmutable and kotlin.native.concurrent.SharedImmutable -
KT-58126Wasm: Consider removing Primitive.equals(Primitive) overload on primitive types -
KT-53327Migrate all usages of 'Enum.values' to 'Enum.entries' in standard library -
KT-59366Deprecate KmModule.annotations -
KT-59365Get rid of two-stage parsing in KotlinClassMetadata -
KT-35116Enum.valueOf throws inconsistent exception across multiple platforms -
KT-59223Native Enum.hashCode should return identity hash code, similar to JVM -
KT-56637Native: 'String.indexOf' matches byte sequences not on the char boundary, which also makes the result of 'split' and 'replace' operation incorrect -
KT-59192Align behavior of collection constructors across platforms
Native
New Features
-
KT-50463Native: Provide a way to control the KONAN_DATA_DIR by the Gradle mechanisms -
KT-59448K2: IR and FIR signatures are not same for composable functions
Fixes
-
KT-60230Native: "unknown options: -ios_simulator_version_min -sdk_version" with Xcode 15 beta 3 -
KT-62532Support Xcode 15.0 frameworks as Kotlin/Native platform libraries -
KT-61382Linking XCFramework fails with error: Invalid record (Producer: 'LLVM11.1.0' Reader: 'LLVM APPLE_1_1300.0.29.30_0') -
KT-61417Native: string and array variables are not properly displayed in lldb when compiling with caches with Xcode 15 -
KT-60758Native: Building for 'iOS-simulator', but linking in dylib built for 'iOS' in Xcode 15 beta 4 -
KT-59149Native: check compiler compatibility with Xcode 15 beta 1 -
KT-58537iOS project fails to build with rootProject.name = "Contains Space" -
KT-59073Native: don't include kotlinx.cli endorsed library into compiler distribution -
KT-58707[K/N] Compiler crash building generics with redundant cast -
KT-58654Compiler error from kotlin.collections.Map : "Invalid phi record", while compiling for kotlin native
Native. C Export
-
KT-56182[K2/N] C export doesn't work for non-root packages with K2
Native. C and ObjC Import
-
KT-59642Remove ability to import forward declaration by library package name -
KT-59643K2: Disable merging of forward declaration with real declaration class -
KT-52882MPP / Native: expect/actual mechanism broken when base contract is NSObjectProtocol -
KT-55578Custom user message for linker error -
KT-58585[K2/N] Fix interop issues -
KT-56041[K2/N] Fix broken __builtin_nanf(String) -
KT-57716[K2/N] Validation failed in file smoke.kt : unexpected type: expected platform.objc.Protocol?, got objcnames.classes.Protocol? -
KT-56028[K2/N]cnames.structs.Foodoes not resolve -
KT-59645Cast to objective C forward declaration crashes compiler -
KT-58793[K2/N] Package separators after mangling are different for IR and FIR
Native. ObjC Export
-
KT-56090[K2/N] Emit DocString klib extensions for ObjCExport
Native. Runtime. Memory
-
KT-61914Kotlin/Native: massive increase in memory usage -
KT-61092Kotlin/Native: Adjust initial values for expected heap size -
KT-61091Kotlin/Native: GC scheduler pauses mutators too aggressively -
KT-61741Kotlin/Native: tsan error in parallel mark -
KT-57773Kotlin/Native: track memory in big chunks in the GC scheduler -
KT-61089Kotlin/Native: fix concurrent weak processing for new allocations -
KT-55364Implement custom allocator for Kotlin/Native -
KT-57772Kotlin/Native: concurrently process weak references in GC -
KT-57771Kotlin/Native: parallel mark in GC
Native. Stdlib
-
KT-60608Introduce AtomicArrays API in K/N stdlib -
KT-59120Native: Rewrite stdlib AtomicReference with Volatile instead of custom C++ code
Reflection
-
KT-47973Reflection: "IllegalArgumentException: argument type mismatch" when using callSuspend to call a function returning value class over primitive -
KT-41373"KotlinReflectionInternalError: Unresolved class" when inspecting anonymous Java class -
KT-61304Reflection: Calling data classcopymethod via reflection (callBy) fails when the data class has exactly 64 fields -
KT-52071Continue gracefully when the system property check "kotlin.ignore.old.metadata" fails
Tools. CLI
-
KT-60662Add JVM target bytecode version 21 -
KT-58183ParseCommandLineArgumentsKt.parseCommandLineArguments takes ~500ms -
KT-58690OutOfMemory when compiling in CLI -
KT-58065K2: Enable light tree instead of PSI for CLI compilation of JS and Native by default
Tools. CLI. Native
-
KT-59245[K1/N] Compile sources to native binary in two stages -
KT-56855[K2/N] Command-line compiler doesn't support compiling sources directly to a native binary (without intermediate klib) with-language-version 2.0 -
KT-58979[K2/N] FIR frontend cannot resolve symbols from resolved klib having non-normalized path
Tools. Commonizer
-
KT-59302Commonizer: make sure that opt-in annotation generated by cinterop made it into commonized artifact -
KT-62028False positive "Unnecessary '@OptIn' Annotation" for ExperimentalForeignApi -
KT-55757kotlinx.cinterop.UnsafeNumber: empty opt-in message -
KT-59859Change the OptIn Level to Error for kotlinx.cinterop.UnsafeNumber -
KT-59132K2/Native/CInterop: [UPPER_BOUND_VIOLATED] Type argument is not within its bounds: should be subtype of 'kotlinx/cinterop/CPointed' -
KT-58822Kotlin Gradle Plugin: migrate tests off native deprecated targets -
KT-47641Enabled cInterop commonization triggers native compilation during Gradle sync in IDE
Tools. Compiler Plugin API
-
KT-58638K2: Annotations generated by IR plugins are not included into metadata -
KT-61872K2: Adding annotations to metadata from backend plugin doesn't work in the presence of comments on annotated declaration -
KT-61833K2: annotations added viaaddMetadataVisibleAnnotationsToElementto declarations from common sourceset in MPP project are invisible -
KT-60051K2: Support metadata serialization of primitive const annotation arguments generated by IR plugins
Tools. Compiler Plugins
-
KT-61550[atomicfu-compiler-plugin]: check that atomic properties are declared as private or internal val -
KT-58079K2/atomicfu: JVM IR transformer crash on atomic extension functions -
KT-61293Usage of atomicfu compiler plugin leads to UnsupportedClassVersionError if Gradle runs on JVM <11 -
KT-55876K2. "[Internal Error] java.lang.NoClassDefFoundError: org/jetbrains/kotlin/com/intellij/openapi/util/UserDataHolderBase" when project with languageVersion 2.0 is Built and Run using Intelij IDEA -
KT-58049K2: Smartcast of nullable property fails when Spring compiler plugin is present -
KT-57468Kotlin assignment plugin: operation name cannot be found for reference
Tools. Compiler plugins. Serialization
-
KT-58501K2/MPP/serialization: several classifier kinds seem to miss generated serializer functions when compiled to K/JS and K/Native targets -
KT-59768kotlinx.serialization + K2 + JS/Native: Support meta-annotations on sealed interfaces with user-defined companions
Tools. Gradle
New Features
-
KT-59000Default standard library dependency should use the single artifact for all targets -
KT-57398Add ability to run compilation via build-tools-api -
KT-34901Gradle testFixtures don't have friendPaths set -
KT-44833Gradle DSL: AddlanguageSettingsaccessor tokotlinextension that applies to all source sets -
KT-58315Add build metrics for Kotlin/Native task
Performance Improvements
-
KT-62318Android Studio sync memory leak in 1.9.20-Beta -
KT-62496Configuration time regression with KGP 1.9.20-Beta caused by loading of properties -
KT-61426Enabling compilation via the build tools API may cause high metaspace usage
Fixes
-
KT-61359"Unresolved reference: platform" when enabling Gradle configuration cache -
KT-59826Update SimpleKotlinGradleIT#testProjectIsolation to run on Gradle 8 -
KT-57565Add ability to capture classpath snapshots via the build-tools-api -
KT-51964Optimizekotlin.incremental.useClasspathSnapshotfeature to improve incremental Kotlin compilation -
KT-61368Native compiler option 'module-name' isn't available within the compilerOptions extension for native target while configuring it inside compilations -
KT-61355freeCompilerArgs arguments and its values are passed to the compiler 5 times if added through target-level compilerOptions{} extension inside compilations -
KT-61273KGP: TaskOutputsBackup.createSnapshot was failed by IOException sometimes -
KT-58987Use some available JVM target if there's no JvmTarget for the inferred toolchain version -
KT-58234Kotlin Gradle Plugin: Deprecate and remove KotlinCompilation.source API -
KT-61401The reported language version value for KotlinNativeLink tasks in build reports and build scans is inaccurate -
KT-54231Compatibility with Gradle 8.0 release -
KT-61950K/Wasm: Add warning about changed sourceSets -
KT-61895KotlinTopLevelExtension.useCompilerVersion is not marked as experimental -
KT-61303The module-name value stays unchanged when configuring it through compiler options extension specific to the android target -
KT-61194MPP compiler options: part of JsCompilerOptions set up using js { compilerOptions {} } extension is lost -
KT-61253CompileExecutableKotlinJs task is skipped while configuring LV either using sourceSets.all {} or both js compiler options extension and base multiplatform compiler options extension -
KT-59588Upgrade max gradle version to max supported in kapt connected tests -
KT-61292Gradle: compilation tasks may capture wrong build directory when build directory is changed after task configuration -
KT-61193Flag kotlin.experimental.tryK2 doesn't set LV 2.0 for tasks of kotlin-js gradle plugin -
KT-60541Possibility to create a custom usableKotlinCompiletask without using internals -
KT-59451[K2][1.9.0-Beta] "Errors were stored into ..." log files never actually exist -
KT-48898Can't suppress warnings by Optin() in KMM build.gradle.kts or IDEA settings -
KT-60660konan.data.dir property not provided for K/N Gradle project build (on Linux or Mac) with a dependency from a Maven -
KT-56959K2: Set up Ktor repo performance benchmarks with K2 enabled -
KT-56178Compatibility with Gradle 8.1 release -
KT-61457Kotlin Gradle Plugin should not use internal deprecated StartParameterInternal.isConfigurationCache -
KT-60718Kotlin Gradle Plugin's incremental compilation violates Project Isolation by accessing the tasks in the task graph that were produced by other projects -
KT-60717Kotlin Gradle Plugin violates Project Isolation restrictions by dynamically looking up properties in the project -
KT-54232Don't check if file exists in task file inputs configuration -
KT-61066[KMP] iOS "Unkown Kotlin JVM target 20" -
KT-54160New KGP API using lazy properties to add compiler plugin options may remove options with the same pluginId -
KT-60839KGP provides incorrect default value "ENABLED" for -Xpartial-linkage -
KT-15370Gradle DSL: add module-level kotlin options -
KT-57645build_scan failed in testBuildScanReportSmokeTestForConfigurationCache test with Gradle 8.0.2 -
KT-59827Update configuration to validate plugin inputs -
KT-59799Validate Gralde Integrations tests has only one tag -
KT-59117Add gradle integration tests for explicit api mode in Android projects -
KT-59587Upgrade max gradle version to max supported in jvmToolchain connected tests -
KT-56636Bump max Gradle version for integration tests to 8.0 -
KT-58353Support reporting of diagnostics after projects are evaluated -
KT-53822Upgrade thegradle-download-taskdependency of the Kotlin Gradle plugin -
KT-58162Kotlin Gradle Plugin: Remove kotlinx.coroutines from classpath of KGP -
KT-58104Check values for MPP_PLATFORMS -
KT-58569Bump language version for Gradle plugins dependencies to 1.5
Tools. Gradle. Cocoapods
-
KT-59263Add diagnostic that a dummy framework is not present when build is triggered from Xcode -
KT-57741KMP importing an iOS project with Xcode 14.3 fails when importing a pod that depends onlibarclite_iphoneos -
KT-60050Log reason why podInstall task is skipped -
KT-49430Stop invalidating iOS framework generated by KMM module on each Gradle Sync -
KT-59522Set the required environment for cocoapods invocations -
KT-59313Elevate to error deprecation of useLibraries -
KT-58775If the pod has a declared dependency on itself, then it will cause StackOverFlow exception while importing of a project
Tools. Gradle. JS
New Features
-
KT-49789KJS / Gradle: Add npm style repository option for YarnRootExtension - and/or don't register github repository when download=false
Fixes
-
KT-60469KJS: "Could not serialize value of type Build_gradle" caused by changed name in packageJson task -
KT-61623K/Wasm: Error with project dependency between modules with both wasmJs and wasmWasi targets -
KT-56933Add Kotlin/JS incremental tests with K2 enabled -
KT-58970browserTest gradle task fails if karma is used and gradle configuration cache is enabled -
KT-42520Add a way to setup generating separate js files for each module inside gradle -
KT-32086Gradle, JS: runTask.enabled = false has no effect on npm dependencies -
KT-48358KJS: Circular dependency when multiple second-level Gradle modules have the same name -
KT-50530Kotlin/JS: enablingkotlin.js.ir.output.granularity=whole-programdoes not remove superfluous .js output files -
KT-50442KJS / Gradle: webpack plugin errors not logged -
KT-46003KJS / IR: Should provide single distributions folder for production and development similarly to Legacy -
KT-47319KJS: Error when project contains two modules with same name -
KT-46010KJS / Gradle: Can't find a file on building on Windows -
KT-48923KJS / Gradle: NoWebpackerror messages when Node.js process exits unexpected -
KT-51942KJS / Gradle: fails with two projects with the same name, but different paths -
KT-51372Kotlin/JS: Gradle compileKotlinJs processes directory just excluded from source set -
KT-52134KJS: the default generated JS module name in a Gradle project with multiple subprojects is incomplete, which might cause duplicate names and build conflicts -
KT-52776KJS / Gradle: Webpack version update despite yarn.lock breaks Kotlin/JS build -
KT-54182MPP / JS:StackOverflowErrorwhen in a Gradle multi-project and Kotlin Multiplatform build with the JS IR target which depends on another with the same subproject name via a renamed published Maven artifact -
KT-58250TheNodeJsExectasks are not compatible with Gradle configuration cache -
KT-58256TheD8Exectasks are not compatible with Gradle configuration cache
Tools. Gradle. Multiplatform
New Features
-
KT-60441KGP based dependency resolution: Support 'idea.gradle.download.sources' flag
- See full ChangeLog in File
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.9.20.zip | 15a8a2825b74ccf6c44e04e97672db802d2df75ce2fbb63ef0539bf3ae5006f0 |
| kotlin-native-linux-x86_64-1.9.20.tar.gz | 7da32e058506e6a8f4378be0e4471f5880b75235e23e1149ba29335d580db23c |
| kotlin-native-macos-x86_64-1.9.20.tar.gz | 9a70e2f1d3020f31ac74f743d5dc3860c07101fa3916fc0325553f7b0ef4cfd5 |
| kotlin-native-macos-aarch64-1.9.20.tar.gz | 630e883bca63d02f571dfcd5b21728be4a050545c9dca8b1846a326c14452f65 |
| kotlin-native-windows-x86_64-1.9.20.zip | 78ea9f5a1ca3d665529b724400799e1f11040e784091ed033916dff1a77780b6 |
v1.9.10: Kotlin 1.9.10
Changelog
Compiler
-
KT-60769Partially revert KT-58371 -
KT-60659Incorrect 'unresolved reference: addFirst' error with JDK 21 -
KT-60371Native custom allocator link error -
KT-60986Native: static caches with custom runtime options are broken on Linux -
KT-60770Fix false-positive ABSTRACT_MEMBER_NOT_IMPLEMENTED on toArray with JDK 21 -
KT-60231NoClassDefFoundError: $$$$$NON_LOCAL_RETURN$$$$$ after upgrade to Kotlin 1.9.0
JavaScript
-
KT-60785KJS: Destructured value class in suspend function fails with Uncaught TypeError: can't convert to primitive type error -
KT-60852Kotlin JS(IR): IllegalArgumentException: Cross module dependency resolution failed when updating to Kotlin 1.9.0 -
KT-57509KJS: Compiler generates native JS operator == for comparing values with Any type
Native
-
KT-60230Native: "unknown options: -ios_simulator_version_min -sdk_version" with Xcode 15 beta 3 -
KT-60758Native: Building for 'iOS-simulator', but linking in dylib built for 'iOS' in Xcode 15 beta 4
Native. C and ObjC Import
-
KT-59167Native: cinterop is unable to build interop libraries against the Xcode 15 Beta 1
Tools. Gradle
-
KT-61147Kotlin Compiler 1.9.0 bundles a stripped unshadowed version of Gson -
KT-60543NoClassDefFoundError for com/gradle/scan/plugin/BuildScanExtension
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.9.10.zip | 7d74863deecf8e0f28ea54c3735feab003d0eac67e8d3a791254b16889c20342 |
| kotlin-native-linux-x86_64-1.9.10.tar.gz | 1db3679919f4449514e9d82451e7dfa73558ac9bc80b82579cd74d452c8faa5b |
| kotlin-native-macos-x86_64-1.9.10.tar.gz | f5650f2560438a692803d8fe07124529c19f1972f84fe09cfa2329b93f43828d |
| kotlin-native-macos-aarch64-1.9.10.tar.gz | d2cf5a484ac0808ab29fd3f6099df7c07330f81f3cbab949947e42e36138c3de |
| kotlin-native-windows-x86_64-1.9.10.zip | a34d56661455e94e1ba4dd09ec3c1adac6148fdedcf55eefb9a79c8ed01ff02c |
v1.9.0: Kotlin 1.9.0
Changelog
Analysis API
New Features
-
KT-57930Analysis API: provide an API for extending Kotlin resolution -
KT-57636K2: Add the return type of K2 reference shortener AAShortenCommand::invokeShortening()e.g.,ShorteningResultInfoto allow callers to access the shortening result PSI
Fixes
-
KT-58249Analysis API: Disable error logging for FE10 implementation of resolveCall when resolve is not successful -
KT-55626Impossible to restore symbol by psi from script file -
KT-57314LL FIR: CombineLLFirProvider$SymbolProviders in session dependencies (optimization) -
KT-55527K2 IDE: Rewrite KtScopeContext class to allow to handle each scope separately -
KT-55329LL FIR: Unexpected ACTUAL_WITHOUT_EXPECT error on constructor and function declaration -
KT-50732LL API: fix compiler based tests -
KT-57850K2: contract violation due to SymbolLightAccessorMethod.propertyAccessorSymbol -
KT-56543LL FIR: rework lazy transformers so transformers modify only declarations they suppose to -
KT-56721K2: FirExtensionDeclarationsSymbolProvider: java.lang.IllegalStateException: Recursive update -
KT-50253Analysis API: Solve issues with ProcessCancelledException -
KT-56800K2 IDE: optimize deprecation calculation for symbols -
KT-55006Analysis API does not transform Java type refs for callable symbol return types -
KT-57256AA FIR: Reduce lazy resolve phase for deprecation status -
KT-57619K2: CFG for class initializer is not correctly built in reversed resolve mode -
KT-58141K2: AA FIR: impossible to restore symbol for declaration with annotation with argument inside type -
KT-57462Symbol Light Classes: SymbolLightFieldForProperty should retrieve annotations not from KtPropertySymbol, but from the corresponding backing field -
KT-54864Analysis API: add function to get expect KtSymbol list by actual KtSymbol -
KT-56763Analysis API:.KtSourceModuleImpl is missing in the map.on symbol restore when symbol cannot be seen from the use-site module -
KT-56617Analysis API: optimize KtFirSymbolProviderByJavaPsi.getNamedClassSymbol -
KT-54430K2: .getAllOverriddenSymbols() returns invalid results
Backend. Native. Debug
-
KT-55440Kotlin/Native debugger: inline function parameters are not visible during debugging
Backend. Wasm
-
KT-58293Wasm: ReferenceError: e is not defined in kotlin.test.jsThrow -
KT-58931Wasm tests are failing to start on Kotlin 1.9.0-Beta -
KT-58188Restore binary compatibility of PlatformDiagnosticSuppressor.shouldReportUnusedParameter -
KT-57136K/Wasm: Restrict non-external types in JS interop -
KT-57060Clarify the lack of support for dynamic in Kotlin/Wasm -
KT-56955K/Wasm: Support restricted version of K/JSjs(code) -
KT-57276Wasm: "Body not found for function" error when compiling konform library with Kotlin/Wasm support -
KT-56976K/Wasm bug with calling override of external function with default parameters
Compiler
New Features
-
KT-55333Allow secondary constructors in value classes with bodies -
KT-54944@Volatilesupport in native -
KT-54746Deprecate with ERROR JvmDefault annotation and old -Xjvm-default modes -
KT-47902Do not propagate method deprecation through overrides -
KT-29378K2: rework warnings/errors for equality/identity operators on incompatible types -
KT-57477False-positive overload resolution ambiguity in case of lambda without arguments -
KT-57010Kotlin/Native: make it possible to compile bitcode in a separate compiler invocation -
KT-55691K2: Avoid inferring Nothing? in presence of other constraints (beside type parameter bounds) -
KT-46288Unexpected behavior of extension function on lambda with suspend receiver -
KT-24779Inconsistent smart cast behavior for bound data flow values
Performance Improvements
-
KT-23397Optimize out field for property delegate when it's safe (JVM) -
KT-56906FIR: Use cached instance of FirImplicitTypeRefImpl in FIR builders -
KT-56276LanguageVersion.getVersionString() allocates 5k objects on project opening
Fixes
-
KT-57784"NullPointerException: Parameter specified as non-null is null:" with enum, companion object, 'entries' and map -
KT-55217K2: support callable reference conversions on top-level expressions -
KT-57232K2: build Space JVM (master) -
KT-59079"AE: SyntheticAccessorLowering should not attempt to modify other files!" with callable reference to constructor with value class parameter -
KT-58837Partial linkage fails to report any compiler message on Windows when launched through Gradle plugin -
KT-57602K2: Rework member scope of types having projection arguments for covariant parameters -
KT-55171Put new contracts syntax under a feature flag -
KT-58719K2: false-positive INVISIBLE_REFERENCE error in case of importing an internal abstract class -
KT-56030[K2/N] Support Objective-C overloading by param names only -
KT-57510K2: Data class equals/hashCode/toString methods are not written to Klib metadata -
KT-56331K2: compiler backend crash on usage of expected function with default arguments -
KT-53846K2 / Context receivers: ClassCastException on secondary constructor of class with context receiver -
KT-58621K2: Private class shadows public function defined in the same package -
KT-59102K2: constant evaluator does not provide Long type on shl -
KT-59066[K2] delegation leads to "IllegalStateException: Expected some types" -
KT-56074K2: build Space JVM (snapshot 2022.3) -
KT-58787KAPT: "NullPointerException: null cannot be cast to non-null type" with delegate -
KT-57022K2 IllegalStateException in signature computation -
KT-56792K2: build kotlinpoet -
KT-57373K2: FIR properties synthesized when implementing interface by delegation don't have accessors -
KT-56583K1: Implement opt-in for integer cinterop conversions -
KT-59030[PL] Workaround for broken@Deprecatedannotations in c-interop KLIBs -
KT-58618K2: Local property delegates cannot infer generic return type -
KT-36770Prohibit unsafe calls with expected@NotNullT and given Kotlin generic parameter with nullable bound -
KT-56739K2: build Space iOS -
KT-57131K2: stdlib test compilation fails on ListTest.kt in FirJvmMangleComputer -
KT-58137K2: ISE "Usage of default value argument for this annotation is not yet possible" when instantiating Kotlin annotation with default parameter from another module -
KT-58897K2: False positive unresolved reference with same-named enum class and its entry -
KT-40903Forbid actual member in expect class -
KT-30905Expect var property with default public setter matches with actual var property with private setter -
KT-56172K2: Fix reporting of PRIVATE_CLASS_MEMBER_FROM_INLINE error -
KT-56171Implement deprecation warning for missing PRIVATE_CLASS_MEMBER_FROM_INLINE error -
KT-27261Contracts for infix functions don't work (for receivers and parameters) -
KT-56927Enum with secondary constructor can't be compiled with K2 using JS/Native backend -
KT-53568Partial linkage: absent class as type parameter bound causes failure ofcompileProductionExecutableKotlinJs -
KT-53608Partial linkage: Kotlin/JS fails with IllegalStateException: "Validation failed in file" when overridden declaration was visible, but now private -
KT-53663Partial linkage: usage of property which becomes abstract: no IrLinkageError, but AssertionError in Native backend instead -
KT-56013K2. a set of errors about local properties are missing -
KT-53939Partial linkage: with turning object into class linkNative and jsTest tasks fail -
KT-53938Partial linkage: with turning interface into class and using as second parent Native build fails -
KT-53941Partial linkage: with turning class into object accessing member via parameterless constructor does not fail -
KT-53970Partial linkage: on turning nested class into inner JS tasks are successful, Native build fails -
KT-53971Partial linkage: turning inner class into nested: without usage in executable Native is successful, JavaScript fails -
KT-53972Partial linkage: turning inner class into nested: with usage in executable Native fails with NPE in backend -
KT-54045Partial linkage: turning class into type alias + calculating implicit function type: build fails with UninitializedPropertyAccessException: "lateinit property parent has not been initialized" -
KT-54046Partial linkage: turning type alias into class + using it as type: build fails with AssertionError: "Expected exactly one delegating constructor call but none encountered" -
KT-53887Partial linkage: turning from enum to regular class + reference to enum contant causes compileProductionExecutableKotlinJs fail with IllegalStateException -
KT-54047Partial linkage: reference to removed enum const causes JS fail with "IllegalStateException: Validation failed in file" -
KT-54048Partial linkage: reference to removed enum const in runtime causes Native fail with IllegalStateException at IrBindablePublicSymbolBase.getOwner() -
KT-53995Partial linkage: on turning class to abstract and direct constructor call Naive fails, JavaScript is successful -
KT-43527@ExtensionFunctionTypeis allowed on function types with no parameters and leads to backend exception -
KT-55316K2. IllegalStateException on incorrect import directive name -
KT-57570Remove source code excerpts from platform type nullability assertion exceptions -
KT-56073K2: build Exposed -
KT-47932Report errors on cycles in annotation parameter types -
KT-38871Kotlin Gradle DSL, MPP: UNUSED_VARIABLE when configuring a sourceset with delegated property -
KT-46344No error for a super class constructor call on a function interface in supertypes list -
KT-56609K2: False positive NULL_FOR_NONNULL_TYPE with -Xjsr305=strict and@Nullableannotation Java parameter -
KT-56656K1/K2: inconsistent NOTHING_TO_OVERRIDE with complex nullable annotations -
KT-58332K2: local fun with suspend type is not marked as suspend in IR -
KT-57991K2: Modifier 'suspend' is not applicable to 'anonymous function' -
KT-54294K2: "Not all type variables found" in builder inference with type parameters inferred through a union of two branches -
KT-58564[PL] Annotations with unlinked parameters are not removed -
KT-52597Provide Alpha Support for Multiplatform in the K2 platform -
KT-58523K2: reference is resolved to imported type-alias instead of identically named top-level property -
KT-57098Native: avoid object initialization while accessing const val -
KT-5797332-th default value in inline classes override function is not used -
KT-57714"IllegalStateException: <B::!>" using reified generics -
KT-57810toStringof object erroneously considered as constant function in string concatenation -
KT-58076K2: Incorrect inference of type of labeled receiver -
KT-57929K2: Arguments of annotations are not calculated in a lot of strange locations -
KT-54874K2. No compilation error with incorrect Comparator invocation -
KT-55388Consider enabling ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated -
KT-53041NPE in Kotlin 1.7.0 when using RxJava Maybe.doOnEvent with anonymous parameters -
KT-54829Cleanup local types approximation logic -
KT-58577K2: private Kotlin property prevents use of Java set-method from Java-Kotlin-Java hierarchy in another module -
KT-58587MUST_BE_INITIALIZED must take into account effectivelly final -
KT-58524K2: false-positive overload resolution ambiguity error on invoking a generic class's member function with id-shaped function-typed parameter on intersection-typed receiver -
KT-53929Enum.entries: consider changing scope behavior in K1 -
KT-58520K2: FIR2IR: ISE during const evaluation of operator times with exposed -
KT-57905K1: resolution to base class's Java field instead of derived class's Kotlin property is not deprecated in case of different types -
KT-56662K1: false negative INVISIBLE_SETTER for a var with internal setter accessed from a derived class -
KT-57770K2: Support generation of serializer if base class for serializable class declared in different module -
KT-58375Kapt: "wrong number of type arguments. required 1" when more than 22 type arguments -
KT-48870[FIR] Different behavior for explicit receiver resolution inside delegated constructors -
KT-58013K2: "Not enough information to infer type variable T" when using assert non-null (!!) and delegation -
KT-58365K2: Fix stub types leakage in builder inference caused by implicit receiver type update with partially resolved calls (IGNORE_LEAKED_INTERNAL_TYPES for stub types) -
KT-58214Continuation parameter only exists in lowered suspend functions, but function origin is LOCAL_FUNCTION_FOR_LAMBDA -
KT-58030K2/MPP/JVM: compiler backend crash on super-call to indirectly inherited Java method -
KT-58135K2: Priority of extension property is lower than ordinary property -
KT-57181[K1/N, K2/N] Expect and Actual funs have different IdSignature.CommonSignature, if Expect has default argument -
KT-58219K2/MPP/metadata: false-positive invisible reference error in Native-shared source set -
KT-58145K2/MPP/metadata: compiler FIR crash on inheritance of a generic class with property by actual-class from Native-shared source set -
KT-56023Constant operations (e.g. division) are not constant in K2 (JS, Native) -
KT-57354In suspend function default arguments are sometimes not deleted in IR -
KT-55242K2/MPP: basic build/link functionality -
KT-57979K2: Unresolved reference error when assigning to Java synthetic property with a different nullability getter -
KT-57543K2 reports DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE -
KT-58142K2: val parameter with more specific type is lower priority -
KT-48546Missed TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM error at plus-assign -
KT-57854RECEIVER_TYPE_MISMATCH on synthetic property from mutually recursive Java generics with disabled ProperTypeInferenceConstraintsProcessing -
KT-54518False negative NON_PUBLIC_CALL_FROM_PUBLIC_INLINE when calling internal method of super class -
KT-58025K2: Argument type mismatch when using Springs HandlerMethodArgumentResolver -
KT-58259Unexpected unresolved function call with obvious invoke-convention desugaring -
KT-57135K2: Fir should take into account an annotation's allowed targets as well as the use-site target when deciding whether it applies to a property, a field, or a constructor parameter -
KT-57069K2: Method kind in metadata is DECLARATION when DELEGATION is used in K1 -
KT-57958K2: Initializer type mismatch when using extension property on type with star projection -
KT-58149K2: New inference error with buildList -
KT-58008K2: "Cannot find cached type parameter by FIR symbol: T" on suspend function with generic and nested class -
KT-57835K2: compiler crash on lambda with dynamic receiver -
KT-57601K2: Builtin functionextensionToStringcan't be accessed -
KT-57655K2: ImplicitIntegerCoercion is not working for named arguments -
KT-58143K2: overload resolution ambiguity inside dynamic lambda -
KT-58132K2: Implicit int constant to long converion crashes FirSerializer -
KT-57378Partial linkage: Run codegen box tests for Native & JS with enabled PL -
KT-58207K2: Handle result of completion of synthetic call with callable reference argument -
KT-56549K2: Reference to Java sealed class fails to compile -
KT-57994K2: Type inference failed on function reference -
KT-58099interop0 test fails with error "type kotlin.String? is not supported here: doesn't correspond to any C type" -
KT-57671Synthetic $EntriesMappings declaration is public and generated even for enums from current module on IC -
KT-56517K2: Reference to Java record fails to compile: "unresolved reference", "Overload resolution ambiguity between candidates" -
KT-58163FIR: deserialized default property setter and getter must have FirResolvePhase.ANALYZED_DEPENDENCIES phase -
KT-55646K2: Report definitely non-nullable as reified error -
KT-58043k2: Expect call is not removed from IR with nullability-based overload -
KT-56442K2: Make sure K2 has the same behavior for defaults with overrides as K1 has -
KT-55904Fix tests for volatile annotation on K2 -
KT-57928K2: Arguments of annotations on constructor value parameter are not calculated -
KT-57814K2: Argument type mismatch with delegating property -
KT-56490Implement deprecation for an anonymous type exposed from inline functions with type argument -
KT-57781K2: Generated serializer is invisible in a non-JVM test source set -
KT-57807K2: Symbol already bound exception for arrayOf function from IrBuiltInsOverFir -
KT-57962K2: No set method providing array access on dynamic -
KT-57353K2: unresolved reference when using fully qualified object declaration name as an expression, when a declaration package is from another klib and has at least two name segments -
KT-57899K2: compiler FIR2IR crash on anonymous object with inheritance by delegation to value of smart-casted type parameter -
KT-57988K2: compiler exception on get operator on dynamic this -
KT-57960K2: incorrect type inference in lambda with dynamic receiver -
KT-57923K2: Optional expectation annotation crashes const evaluator -
KT-56511K1: false negative SMARTCAST_IMPOSSIBLE when alien constructor property is accessed from a private class -
KT-58033K2 reports Constructor must be private or protected in sealed class in actual sealed class if its constructor has own actual declaration -
KT-58061K2: false-positive unsupported feature error on callable references to Java methods from annotation interfaces -
KT-55079Refactor DiagnosticReporterByTrackingStrategy and fix some "diagnostic into black hole" problems -
KT-57889K2: false-positive lack of information for inline function's type parameter in case of builder-style inference from caller function's return expression -
KT-57961K2: Unresolved reference using dynamic lambda parameter -
KT-57911K2: Contracts are not inherited by substitution overrides -
KT-57880K2: false-positive argument type mismatch due to lambda receiver shadowing labeled outer lambda receiver when assigning lambda to variable -
KT-57986K2: NPE on building Space -
KT-57873K2: compiler FIR serialization crash on builder-style inference from lambda's return type -
KT-57941K2: Assertion error on loading serializable class with non-serializable property compiled with K1 compiler -
KT-57947K2: Incorrect resolution results when property type for invokeExtension is not inferred -
KT-58002K2: compiler FIR serialization crash on platform type with type-targeted Java annotation with Java enum as argument -
KT-57263K2/MPP/JVM: compiler codegen crash on expect-property as default argument for expect-function's parameter -
KT-56942K2: False-negative NO_ELSE_IN_WHEN if subject is flexible type -
KT-56687Unexpected behaviour with enum entries when using outdated stdlib -
KT-56398K2/MPP: compiler backend crash on inheritance from expected interface -
KT-57806K2: string interpolation as annotation parameter causes error -
KT-57611K2: Annotation arguments are not evaluated -
KT-56190[K2/N] Const initializers are not serialized to klib -
KT-57843K2: Missing diagnostic when calling constructor through typealias whose expansion has a deprecation -
KT-57350FIR: deprecation diagnostic is not reported on a super class call -
KT-57532K2: IrActualizer doesn't handle properties overloaded by extension receiver correctly -
KT-57776K2: Suppressing "INVISIBLE_REFERENCE" leads to AssertionError: Unexpected IR element found during code generation -
KT-57769[K2] Load properties in proper order for classes compiled with kotlinx.serialization and LV < 2.0 -
KT-57879K2: compiler FIR serialization crash on passing Java constants as arguments to type-targeted annotations -
KT-57893K1/K2 inconsistency on smart casts of internally visible properties in friend modules -
KT-57876K2: stack overflow in compiler FIR deserialization on nested type-target annotation class used in enclosing class -
KT-57839K2: Compiler crash on lambda returning anonymous object with implemented lambda -
KT-57822K2: Can't refer to external interface from class literal -
KT-57809K2: No value passed for parameter of external class -
KT-56383Build intellij master with LV 1.9 -
KT-57735K2: MPP: K2 reports hides member of supertype and needs 'override' modifier for the function with@PlatformDependentannotation when there is an empty linux target in project -
KT-55056Builder inference causes incorrect type inference result in related call -
KT-57689K2: Unresolved reference to nested typealias in KLIB -
KT-57665K2: incorrect resolution of dynamic type -
KT-57381K2/MPP/Native: impossible to override Any::equals with non-external function -
KT-57654K2: Lambda with receiver deserialized as lambda without receiver during metadata compilation -
KT-57662K2: The error message is poorly formatted and not precise in case of NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS error and@Suppressis used -
KT-57763FirExtensionRegistrar extension point broken -
KT-57312K2: IR interpreter fails on string interpolation withconst valfrom a klib involved -
KT-57768Don't decompile code to search for annotation arguments -
KT-55628Diagnostics for kotlin.concurrent.Volatile annotation applicability -
KT-55860K2. [CONFLICTING_INHERITED_MEMBERS] for inheritor of a class with overloaded generic function -
KT-53491K2: Implement "Operator '==' cannot be applied to 'Long' and 'Int'" error -
KT-55804K2: UNSAFE_CALL Non-nullable generic marked as nullable even if non-null asserted -
KT-57682K2: Incorrect composing of signatures for calls on dynamic types -
KT-55405K2: false-negative INVISIBLE_REFERENCE in import directives -
KT-54781K2: no error on unresolved import statement with more than one package -
KT-57635K2/MPP: Expect constructors are not considered as expect during metadata deserialization -
KT-57376K2/MPP: false-positive K/JS diagnostic in absence of K/JS target when sharing a source set between K/JVM and K/Native -
KT-55902K2: Support ImplicitIntegerCoercion annotation -
KT-56577Migrate Native KLIB ABI compatibility tests to K2 -
KT-56603[K2/N] Segfault invoking fun from binary compatible klib -
KT-57457K2: the error message is not quite informative in case of EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR_ERROR -
KT-57568K2: K2, Native reports overload resolution ambiguity -
KT-57446K2: Adapter function reference is not generated inside when expression -
KT-54894K2: False positive RETURN_TYPE_MISMATCH on function which returns a functional type with@UnsafeVarianceargument -
KT-57001K2 compilation fails due to nullabillity subtyping not working properly -
KT-57271Delay forbidding inference to an empty intersection to version 2.0 -
KT-57209K2: type parameters are available in companion object scope -
KT-50550False positive NO_ELSE_IN_WHEN with annotatedwhenbranch condition -
KT-57431K2 MPP JS: Compiler crash on transitive common dependencies -
KT-57456K2 reports uninitializied variable in enum class when variable is used in lambda and defined in companion object -
KT-57583K2/MPP/JS&Native: FIR2IR compiler crash on reference to Any method inherited by expect-classifier -
KT-56336[K2/N] Multiplatform test fails with unexpected "actual declaration has no corresponding expected declaration" compiler error -
KT-57556K2: Rename error 'This API is not available after FIR' -
KT-23447Integer.toChar compiles to missing method -
KT-46465Deprecate and make open Number.toChar() -
KT-49017Forbid usages of super or super if in fact it accesses an abstract member -
KT-56119BinaryVersion.isCompatible binary compatibility is broken -
KT-57369K2/MPP: supertypes established in actual-classifiers from other source sets are not visible -
KT-55469[K2/N] equals(Double,Double) and equals(Boolean,Boolean) are not found -
KT-57250K2: the metadata is serialized for anexpectclass even if theactualclass is present when compiling to klib -
KT-56660K2/MPP: compiler backend crash on invoking a K/Common constructor in K/JS code -
KT-55055K1: Builder inference violates upper bound -
KT-57316Initialize Enum.entries eagerly: avoid using invokedynamics -
KT-57491Kotlin synthetic parameter looks ordinary -
KT-56846K2: incorrect line & symbol numbers in exception reporting -
KT-56368K2/MPP: compiler backend crash on missing actual declaration -
KT-57104K2: false-positive conflicting inherited JVM declarations error despite use of@JvmNamein another module -
KT-56747[K2/N] Return type forlambda: (Any) -> Anywhich returns Unit is different for K1 and K2 and return statement is missing with K2 -
KT-57211K2: incorrect "error: an annotation argument must be a compile-time constant" on unsigned array in annotation argument -
KT-57302K2 fails with IllegalStateException on reading inherited property of Java enum -
KT-57424K2 IDE: "By now the annotations argument mapping should have been resolved" exception -
KT-57241K2 MPP: Actualization doesn't work for actual enum that has primary constructor with arguments -
KT-57210K2 MPP: Support of arguments with dynamic type -
KT-57182K2 MPP: Actualization doesn't work for nested objects -
KT-56344K2: Implement correct errors reporting of IrActualizer -
KT-54405K2 compiler allows val redeclaration -
KT-54531[K2] Uncaught Runtime exception is thrown instead of user friendly error messages with details in case -no-jdk option set to true -
KT-56926K2: incorrect line number generated for class constructor or method with default parameter when comment before -
KT-56913K2: Incorrect line numbers in overriden field getters and setters -
KT-56982K2: Incorrect line number start in when expression -
KT-56720K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTED in case of delegation in diamond inheritance -
KT-57175K2: false-positive INVALID_TYPE_OF_ANNOTATION_MEMBER on type aliases -
KT-25694Fix reporting of uninitialized parameter in default values of parameters -
KT-57198K2: false-positive type mismatch error on inherited raw-typed class with type parameters in upper bounds of other type parameters -
KT-15470Inconsistency: use-site 'set' target is a compilation error, use-site 'get' target is ok -
KT-57179FIR: preserve prefix increment behavior like in K1 by calling getter twice -
KT-57405K2. Function call ambiguity error when nullable String is passed to function with Spring@Nullableannotation in signature -
KT-57284K2: compiler codegen crash at property initialization in constructor after smartcast of dispatch receiver to indirectly derived type -
KT-57221K2: compiler FIR2IR crash on function's unavailable cached type parameter -
KT-57036Unresolved reference: with inferred type of class constructor with extension parameter -
KT-56177K2: FIR should not generate annotation on both property and parameter -
KT-54990NI: Type mismatch when encountering bounded type parameter and projections -
KT-57065K2: overload resolution ambiguity between type-aliased constructor and identically named function -
KT-49653Deprecate and remove Enum.declaringClass synthetic property -
KT-57190K2: false-positive unsafe call error on safe call on type-aliased nullable receiver in SAM-conversion -
KT-57166K2: false-positive val reassignment error when synthetic property with implicitly typed overridden getter is called from implicitly typed member that is declared earlier -
KT-55828[K2/N]: Fix test fails in OPT mode :Internal compiler error: no implementation found ... when building itable/vtable -
KT-56169False negative deprecation warning about future inference error with builder inference -
KT-56657K1/K2: inconsistent behavior in nullability mismatch (Guava hash set/map) -
KT-57105K2: compiler codegen crash at property initialization in constructor after smartcast -
KT-56379K2: build tests for the Kotlin standard library -
KT-56079K2: build YouTrack 2022.3 -
KT-57092K2: false-positive multiple inherited implementations error -
KT-56696K2: Allow to access uninitialized member properties in non-inPlace lambdas in class initialization -
KT-56354K2/MPP: unresolved references to library entities -
KT-57095K2: false-positive lack of type arguments error on raw cast of Base<*> to Derived: Base<T?> -
KT-56630FIR: ClassCastException on compilation hierarchy with a raw type -
KT-57171K2: Implement bytecode tests -
KT-57214K2: compiler FIR crash on annotation usage before annotation class declaration -
KT-57204K2: callable reference to mutable property of inherited by delegation superinterface isn't properly resolved -
KT-57195K2: false-positive VAR_TYPE_MISMATCH_ON_OVERRIDE on changing property's platform type to non-nullable type when overriding -
KT-56814K2. PsiElement is null inside IrClass. As a result ClassBuilder defineClass gets null as origin -
KT-54758DeprecateClassBuilderInterceptorExtension.interceptClassBuilderFactoryand provide another method without dependency on K1 -
KT-57253K2: clean up callable reference logic in FIR2IR -
KT-56225K2. "BackendException: Backend Internal error: Exception during IR lowering" error on incorrect constructor in inline class -
KT-56769K2. Annotation applicability is ignored during compilation when there's use-site@target -
KT-56616K2: cannot infer Java array type properly -
KT-57247K2: false-positive INVALID_TYPE_OF_ANNOTATION_MEMBER on type-aliased vararg property -
KT-57206K2: false-positive val reassignment error on synthetic property from generic class with overridden getter but not setter -
KT-56519K2: Compiler crash on a function reference on companion receiver that inherits from outer class -
KT-56506K1/K2 inconsistency: VAL_REASSIGNMENT on synthetic setter with different nullability -
KT-56877K2: false-positive UNRESOLVED_LABEL for labeled this-expression in contract description -
KT-56863K2: false-positive property initialization analysis errors after smartcast -
KT-56864K2: Unexpected behavior with default parameter inheritance and function reference -
KT-56665K2: false positive RECURSIVE_TYPEALIAS_EXPANSION -
KT-53966K2 does not support SAM conversions with condition into Java/Kotlin functional interfaces -
KT-56659FIR: Increment operator on object leads to exception from resolve -
KT-56771FIR: Increment operator on qualified expressions leads to exception from resolve -
KT-56759K2: False-positive UNRESOLVED_REFERENCE on labeled desctructuring declaration in LT mode -
KT-56548K2: false positive overload resolution ambiguity for Java record constructor -
KT-56476K2: false positive NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY at inline fun use-site -
KT-56138K2: Illegal conversion of lambda with parameters to ExtensionFunction expected type -
KT-56448K2: False-positive unsafe call due to incorrect inference of smartcasted type -
KT-55966K2: Not enough information to infer type variable K if smartcast is used -
KT-57168K2: compiler FIR2IR crash on synthetic property from generic class with overridden getter but not setter -
KT-56876K2: false-positive UNRESOLVED_REFERENCE for name of nested class in contract description -
KT-57194K2: overload resolution doesn't prioritize Double over Float -
KT-57067Warning about expect/aсtual in the same module doesn't take into account absence of 'actual' modifier -
KT-56954K2: function literals can be passed as arguments to parameters with kotlin.reflect function types -
KT-55423K2: Implement CONTRACT_NOT_ALLOWED -
KT-56923K2: no line number in bytecode when ASTORE exception in catch -
KT-56829K2: compiler FIR2IR crash on passing to function a callable reference to nested class's constructor with default arguments -
KT-57029Per-file caches fail on local inline function in an inline function -
KT-57085K2:@Suppressis sensitive to its argument's case -
KT-57103K1: AssertionError: Mismatching type arguments: 0 vs 1 + 0 when calling inline function with callable reference to generic synthetic property -
KT-57033Make KtClassLiteralExpression stub based -
KT-57035Make KtCollectionLiteralExpression stub based -
KT-40857Invalid parameterized types for extension function on parameterized receiver when javaParameters=true -
KT-56154Compiler backend crash on reference to Java synthetic property from generic class -
KT-56692StackOverflow in PrivateInlineFunctionsReturningAnonymousObjectsChecker -
KT-55879Modularized tests: fir.bench.language.version is used as API version, not language version -
KT-51821ClassCastException on anonymous fun interface implementation when unrelated vararg is used -
KT-56820K2: compiler FIR crash on Java field access after smartcast -
KT-56579[K2/N] IR actualizer crashed with K2 on expect annotation marked with@OptionalExpectation, without actual. -
KT-56750K2: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER" when calling typealias method reference -
KT-55614K2: consider serializing static enum members (values/valueOf/entries) to match K1 behavior -
KT-30507Unsound smartcast if null assignment inside index place and plusAssign/minusAssign is used -
KT-56646K2: "IllegalStateException: No single implementation found for: FUN FAKE_OVERRIDE" when compiling a functional interface -
KT-56334K2: can't call expected function with default arguments -
KT-56514K2 should report ACTUAL_TYPE_ALIAS_NOT_TO_CLASS -
KT-56522K2 should report ACTUAL_FUNCTION_WITH_DEFAULT_ARGUMENTS -
KT-56910Exception during IR lowering: Cannot determine lineNumber of element FUN name:cancelProgress -
KT-56542K2: false positive TOO_MANY_ARGUMENTS in VarHandle.set call -
KT-56861FIR: test FirPluginBlackBoxCodegenTestGenerated.testClassWithAllPropertiesConstructor is failing with runtime error -
KT-56234K2: "ISE: Expected value generated with NEW" with inline property setter and noinline parameter -
KT-56722K2: cannot resolve component call after smart cast -
KT-56875K2: isOperator flag is incorrectly set for java methods -
KT-56714K2: wrong argument mapping in DSL -
KT-56723K2: lambda accidentally returns Unit? instead of Unit -
KT-55877K2: Secondary constructor without call to parent: no frontend error, ISE: "Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" -
KT-56386K2: Make possible to access Java field which is shadowed by Kotlin invisible property` -
KT-56862Compatibility problem with using Kotlin in Intellij 223 or higher because of missing particular trove4j dependency -
KT-55088JS, Native compilation fail with internal error onSomeEnum.entriesreference whenSomeEnumis from klib compiled with disabled EnumEntries language feature -
KT-40904No warning when declare actual in the same target (module) as expect -
KT-56707K2: Unexpected TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM where only getter type specified explicitly -
KT-56508Context receivers: Internal compiler error when compiling code containing a class with a secondary constructor -
KT-56706K2: False-positive ARGUMENT_TYPE_MISMATCH for generic nested types from library -
KT-56505K2: MissingNO_EXPLICIT_VISIBILITY_IN_API_MODEerrors on various declarations -
KT-56682K2: False-negative UNINITIALIZED_VARIABLE on access to delegated property -
KT-56678K2: False-negative UNINITIALIZED_VARIABLE if corresponding variable has initializer -
KT-56612K2: false positive NO_TYPE_ARGUMENTS_ON_RHS on raw cast with type alias based argument -
KT-56445K2: False-positive unresolved reference to callable reference to function with default argument -
KT-55024K2: overload resolution ambiguity/unresolved reference if variable is smart-casted to an invisible internal class -
KT-55722K2: Incorrect OVERLOAD_RESOLUTION_AMBIGUITY with smart cast on dispatch receiver (simple) -
KT-56563Inference within if stops working when changing expected type from Any to a different type -
KT-55936K2: Support proper resolution of callable references as last statements in lambda -
KT-45989FIR: wrong callable reference type inferred -
KT-55169K2: False-negative NO_ELSE_IN_WHEN -
KT-55932K2. No compiler error when elvis operator returns not matched type -
KT-53987K2: False negative "TYPE_MISMATCH" with if statement return -
KT-41038NI: TYPE_MISMATCH when passing constructor of nested class -
KT-42449Can not resolve property for value of type Any even after casting type to a type with star projection -
KT-52934StackOverflow fromPseudocodeTraverserKt.collectDataFromSubgraphwithifinsidefinally -
KT-52860StackOverflowError when casting involving recursive generics and star projection -
KT-52424ClassCastException: Wrong smartcast to Nothing? with if-else in nullable lambda parameter -
KT-52262TYPE_MISMATCH: Nonnull smartcasting fails with non-exhaustive when -
KT-52502Forbid extension calls on inline functional parameters -
KT-51045SETTER_PROJECTED_OUT: Star projected nullable property can't be set to null -
KT-40480[FIR] SupporthasStableParameterNamefrom metadata -
KT-50134NI: Type inference regression in java streams groupingBy -
KT-50160False positive "USELESS_CAST" caused by indexed access operator -
KT-42715Unable to use implicit lambda paramitfor overloaded methods -
KT-49045False positive USELESS_CAST in generic type with nullable type parameter -
KT-49024AssertionError: Variance conflict: type parameter variance 'out' and projection kind 'in' cannot be combined -
KT-48975Type mismatch: inferred type is X but Nothing! was expected with the AssertJ latest version -
KT-47870INVISIBLE_MEMBER: Kotlin class can't access protected annotation defined in Java parent class -
KT-47495ReenteringLazyValueComputationException on invalid code -
KT-47490Missed diagnostic for incorrect callable reference in finally -
KT-47484"Recursion detected in a lazy value under LockBasedStorageManager" on invalid code -
KT-46301Combining branches with sealed interfaces inwhenbreaks type inference -
KT-44392False negative: redundant nullability/not null check on cast with as operator -
KT-43936Recursion detected on input: ANNOTATION_ENTRY with annotation on star-imported nested class -
KT-43846No smart cast when returning function closures with captured smart-cast variable -
KT-43603False positive USELESS_CAST leads to TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM on "when" with smart cast and extension property -
KT-43553JVM / IR: "AssertionError: Unbound symbols not allowed" caused by annotation class with TYPE target -
KT-42169False negative CAST_NEVER_SUCCEEDS for incompatible types with generic parameter and star projection -
KT-42136NI: False positive [USELESS_CAST] when list serves to create a mutable list -
KT-41721SAM conversion fails on varargs with type approximated to Nothing -
KT-38288Unresolved reference for type parameter upper bound of nested class when outer class extends it with star projected type argument -
KT-37490NULL_FOR_NONNULL_TYPE: "Null can not be a value of a non-null type Nothing" when null is passed to nullable argument of type projected method -
KT-37365NPE fromReflectionReferencesGenerator.generateCallableReferencewith inner class function reference and wrong parenthesis -
KT-36958NI: missed unresolved on parenthesized callable reference passing through call (back-ends throw an exception) -
KT-30756No smartcast if elvis operator as a smartcast source in while or do-while is used as the last statement -
KT-24737Report an error on invalid this-expression with angle brackets on left-hand side of a callable reference -
KT-21463Compiler doesn't take into accout a type parameter upper bound if a corresponding type argument is in projection -
KT-6822Smart cast doesn't work inside local returned expression in lambda -
KT-55840Inconsistency between members of enums in bytecode between FE 1.0 + JVM IR and FIR + JVM IR -
KT-47815JVM: "Recursion detected in a lazy value under LockBasedStorageManager" when trying to inherit interface from a class with non-trivial function -
KT-17817No error reported on invalid LHS for class literal -
KT-47373Missed diagnostics on/after non-null assertion (!!) on generic class class use with class literal -
KT-51143Wrong Unit-requiring at if/when branch with stub types -
KT-53671False-positive diagnostic reported on OptIn annotation import from root package -
KT-53494Mistaken type inference in compound 'if' expression with nullability check and covariant type -
KT-28668"AssertionError: Unrelated types in SAM conversion for index variable" if lambda argument of '[...]' in LHS of augmented assignment is used as an implementation for different SAM interfaces -
KT-55931Inference for callable reference inside synthetic calls for if/when/try/etc stops working when brought into lambda for a call -
KT-20223Inline access check ignores operator calls toinvoke() -
KT-54478@NoInfercauses CONFLICTING_OVERLOADS -
KT-56472K2: Add stack of all FIR elements to CheckerContext -
KT-41126[FIR] Inconsistency of a compiler behaviour at init block for an enum entry with and without a qualifier name -
KT-54931Annotations defined in nested classes cannot be instantiated directly -
KT-52338"IncompatibleClassChangeError: Expected non-static field" with Kotlin class with same-named companion object property as base Java class field -
KT-24901No smart cast forwhenwith early return -
KT-53086"Cannot access '' before superclass constructor has been called" with inner class secondary constructor -
KT-55137Callable references with conversion are incorrectly allowed to be promoted to KFunction -
KT-30497EXACTLY_ONCE contract doesn't work in a function withvarargparameter -
KT-47074Front-end Internal error: Failed to analyze declaration State / java.lang.IllegalStateException: Should not be called! when try to add Parcelize -
KT-24503Return-as-expression is allowed as this/super constructor parameter -
KT-55379False positive NO_ELSE_IN_WHEN with smartcast to Boolean -
KT-47750False positive NO_ELSE_IN_WHEN in presence of smartcast to sealed interface -
KT-53819False positive UNINITIALIZED_VARIABLE with secondary constructor and custom property getter in local class -
KT-56457JVM: Enum.entries are not annotated with@NotNull -
KT-56072K2. "IllegalStateException: Fir2IrSimpleFunctionSymbol for is already bound" when trying to access java synthetic property of inherited class -
KT-50082Kotlin non-overriding property of subclass doesn't shadow same-named Java field from base class -
KT-55822False positive ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED with raw types and mixed overridden members -
KT-55666K2: label on local function is rejected: "Target label does not denote a function" -
KT-56283False-positive INVISIBLE_MEMBER on overridden member of more specific type after smart cast -
KT-51969[FIR] Compilation for expect value class fails with "Fir2IrSimpleFunctionSymbol for [declaration] is already bound" -
KT-56329K2: compiler backend crash on two expected functions with similar signatures -
KT-56361K2/MPP: receiver isn't available in lambda literals with receiver -
KT-55295K2/MPP: JS build functionality -
KT-55909[K2/N] IndexOutOfBoundsException for a reference to a function defined in companion object superclass -
KT-55664K2: eliminate ClassId.isSame call from FirClass.isSubclassOf -
KT-56353K2. False negative "Unresolved reference" in default value of secondary constructor's parameter -
KT-56381K2: Function type kind not extracted from lambda literal in generic call -
KT-55747K2. "Convention for 'mod' is forbidden. Use 'rem'" error is missing -
KT-56104Unnecessary inner classes attributes in class files for subclasses -
KT-55570K2: ACTUAL_WITHOUT_EXPECT error is not reported on a simple actual class -
KT-56176[K2/N] "IllegalStateException: actual type is kotlin.Int, expected kotlin.Long" when expected type uses typealias -
KT-56229K2: IllegalStateException (already bound) for triangle-like dependencies scheme with MPP scenario -
KT-56199K2 + MPP + kotlinx.serialization: java.lang.VerifyError: Bad type on operand stack in aaload -
KT-56212K2: Exception when compiling extension function declaration with illegally chained type parameter receiver -
KT-55503K2: "Argument type mismatch" caused by using the wrong "this" -
KT-56050K2: inconsistency regarding visibility of synthetic properties with protected getter and public setter -
KT-49663FIR: Support@kotlin.jvm.PurelyImplements for java collections -
KT-55468[K2/N] Crash with debuginfo caused by changed tree using IMPLICIT_COERCION_TO_UNIT -
KT-56269[K2/N] Don't test "Tailrec is not allowed on open members" in K2 -
KT-54647K2: Function call with Lambda on LHS of assignment leads to KotlinExceptionWithAttachments: FirDeclaration was not found for class org.jetbrains.kotlin.psi.KtFunctionLiteral -
KT-54648K2: Function call on left side of erroneous assignment isn't resolved -
KT-55699K2. False Negative "Type parameter T is not an expression" -
KT-56132Restore 'JvmBackendContext' constructor signature for compatibility -
KT-55973K2: Exception from UnusedChecker on an unused destructuring -
KT-56275K2 IDE: Missed error for enum super type -
KT-54775K2. "IllegalStateException: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl " exception on incorrect code -
KT-55528K2: CFA for property initialization analysis is not run for class initialization graphs -
KT-54410K2: Deprecation warning instead of "this declaration is only available since Kotlin X" when language version in project are below required to use language feature -
KT-55186K2: No compilation error on calling exception without constructor -
KT-36776Treat special constructions (if, when, try) as a usual calls when there is expected type -
KT-50947False negative: FE 1.0 doesn't report type variance conflict error on an inner type -
KT-39041Collection literals should not be allowed inside annotation classes -
KT-54694Consider enabling BooleanElvisBoundSmartCasts in K1 or K2 -
KT-54587K2. CCE on compilation when some operator fun is needed and it is implemented as an extension function for another class -
KT-52774Resolve unqualified enum constants based on expected type
Docs & Examples
-
KT-53643Update coding style conventions to include rangeUntil operator -
KT-57902Create migration tutorial from kotlin-js to kotlin-multiplatform gradle plugin -
KT-58381[Docs][Libraries] Document Path.createParentDirectories
IDE
Performance Improvements
-
KTIJ-23501Make main run configuration detection lighter -
KT-56613Reduce memory consumption of light classes
Fixes
-
KT-57849K2: contract violation due to implicit java type with annotation -
KT-57857LC: FakeFileForLightClass: Read access is allowed from inside read-action -
KT-57578SLC: incorrect upper bound wildcards -
KT-57917Analysis API: decompiled value parameters are not resolved -
KT-56046K2 IDE: Avoid redundant resolve from annotations -
KT-57569SLC: incorrect visibility for lateinit var with private setter -
KT-57547SLC: non-lastvarargvalue parameter type mismatch -
KT-57548SLC: incorrect inheritance list for Comparator -
KT-56843Light classes: certain kinds of constant values in property initializers aren't supported -
KT-56868SLC: IncorrectOperationException on enum annotation arguments that are not valid Java identifiers -
KT-56833Light classes: Accessors to lateinit properties don't have@NotNullannotations -
KT-56845Light classes: Overridden property accessors don't have@Overrideannotation -
KT-56441K2 IDE: reference from Java to ObjectName.INSTANCE of private object is red in IDE, but compiled successfully -
KT-56891Symbol Classes: DefaultImpls classes contain methods without default implementation -
KT-56842Light Classes: Primitive-backed context receiver parameters shouldn't be marked with@NotNull -
KT-56835Light classes: Underlying fields for delegated properties should be marked as final and@NotNull -
KT-56840Light Classes: Inline classes backed by Java primitives shouldn't be marked with@NotNull -
KT-56728K2 IDE. False positivenot applicable tofor kotlin annotation with target annotating Java element -
KT-55815SLC: Keep annotations on type when converting toPsiType -
KT-55669K2 IDE: INRE from light classes
IDE. Completion
-
KTIJ-25108K2 IDE: Code completion in Java context for Kotlin top level members: "Slow operations are prohibited on EDT" through KtAnalysisScopeProviderImpl.canBeAnalysed() -
KTIJ-24989K2 IDE: completion should show information about expanded types for type alias parameters -
KTIJ-24992K2 IDE: completion shows return type with incorrect nullability when type is stub type -
KTIJ-24948K2 IDE: "ERROR: class org.jetbrains.kotlin.fir.types.jvm.FirJavaTypeRef cannot be cast to class org.jetbrains.kotlin.fir.types.FirResolvedTypeRef" during completion of inner classes' constructors -
KTIJ-24256K2 IDE: Angle brackets are missing in completion of function with type parameters -
KTIJ-24083K2, Completion: Exception on adding a type parameter receiver to a function -
KTIJ-23963K2 IDE: Completion in Kotlin suggests overriding a Java field; fails with "Unknown member to override" -
KTIJ-22359K2 IDE: no completion for Java synthetic properties from super class -
KTIJ-23880Completion doesn't work for Java synthetic property reference
IDE. Decompiler, Indexing, Stubs
-
KTIJ-25152Kotlin Bytecode tool window: ISE Symbol with IrSimpleFunctionSymbolImpl is unbound on actual callable with argument in mpp project with IR -
KTIJ-24475Migrate kotlin index extension implementation from object to classes -
KTIJ-24335Kotlin Bytecode tool window: NoSuchElementException caused by duplicate Boolean type descriptor in JvmSharedVariablesManager.getProvider -
KTIJ-24206Kotlin Bytecode tool window: "Unhandled intrinsic in ExpressionCodegen" when compiling a source file with an expect function -
KTIJ-15764IR by default in Kotlin bytecode tool window
IDE. Gradle Integration
-
KT-59034MPP build failed with "Factory type is not known for plugin variants" in kt-231-* -
KT-56671KGP import: K/N distribution libraries should'n be resolved for IDE by KGP with package names -
KTIJ-24573KGP-based import: commonized cinterop libraries don't include source set targets, unsupported by host -
KTIJ-25757KJS: 1.9.0-Beta fails to run when running in Android Studio -
KTIJ-24701KGP import: JVM+Android shared source sets don't receive a correct default stdlib dependency -
KTIJ-24745IDE sync of kotlin("js") projects with js(BOTH) set fails with exception because of the new MPP IDE import -
KTIJ-24567Enable KGP dependency resolution by default -
KTIJ-24729KotlinMPPGradleProjectResolverKt must not be requested from main classloader on project import -
KTIJ-11978IDE does not recognize the sources JAR of a published to mavenLocal MPP library
IDE. Inspections and Intentions
-
KTIJ-24684K2 IDE: 'Redundant qualifier name' false positive in type specification in extension function -
KTIJ-24662K2 IDE: False positive "Redundant qualifier name" inspection for nested class from base interface -
KTIJ-25232K2 IDE: "Redundant qualifier name" inspection false positive with object referenced via property -
KTIJ-25447Make Enum.entries and RangeUntil inspections don't check for opt-in when APIs become stable -
KTIJ-23588K2 IDE. False positive unused import directive for extension function of an object -
KTIJ-25112K2 IDE: False positive "Actual value of parameter 'b' is always 'null'" -
KTIJ-24485Explicit API mode: false positive "redundant 'public' modifier" -
KTIJ-24453Unsuccessfull resolve error from OperatorToFunctionIntention on recursive property declaration
IDE. JS
-
KT-58427Kotlin Gradle Plugin ignores language version value for Kotlin/JS sources
IDE. Libraries
-
KTIJ-25096K2 IDE: Library sessions are garbage collected between performance test runs with enabled library caches -
KTIJ-24413Cannot navigate to enum of the Kotlin library via entries call
IDE. Multiplatform
-
KTIJ-25859MPP: Library wizard with android target uses deprecatedandroidTestsource set -
KTIJ-25479Compiler options is not imported correctly for js source sets -
KTIJ-24011MPP: Native tests are missing run gutters
JavaScript
New Features
-
KT-12784JS: generate ES2015 compatible modules -
KT-48154KJS / IR: Inline members support for external types -
KT-51582FIR: support basic compile-time evaluation for JS backend
Fixes
-
KT-43490KJS / IR: "Cannot set property message of Error which has only a getter" caused by class that is child of Throwable -
KT-57690K2/MPP: compileProductionLibraryKotlinJs fails with Module has a reference to symbol kotlin/arrayOf|3204918726020768747[0]. Neither the module itself nor its dependencies contain such declaration -
KT-56911K2/MPP: Compile K/JS fails for@Serializableannotation with class IrDeclarationOrigin$GeneratedByPlugin cannot be cast to class IrDeclarationOriginImpl -
KT-56950Support KLIB IC with K2 -
KT-58570KJS: ES6 classes + PL throw java.lang.NullPointerException -
KT-58835K2/JS: Fix incremental compilation klib tests -
KT-58794KJS / K2: Assertion failed with Space build -
KT-51706Partial linkage: in case of absent symbol referred from declaration Native compiler is successful, JavaScript fails -
KT-54452Kotlin/JS libraries with "joined" legacy+IR content: publish IR sources for them -
KT-53180Kotlin/JS: generated TypeScript constructor can have "TS1016: A required parameter cannot follow an optional parameter" error with certain properties order -
KT-39650KJS IR: provide a way to enable ES2015 class generation -
KT-57990KJS/IR. Invalidsupercall for final parent methods (ES classes) -
KT-58246KJS: ES15 classses — duplicated code in class constructor -
KT-57479KJS: Add an annotation for a function parameter which checks that a passed argument has an external type -
KT-58201Unknown statement type when building with ES modules -
KT-30810values and valueOf are miscompiled for external enum classes -
KT-57024Ugly TypeScript definitions for declarations with both@JsExportand@Serializable -
KT-56237KJS + IC: Adding or removing interface default implementation doesn't invalidate children and doesn't update JS code -
KT-54638K2/JS: Fir2ir - implement and use JS-specific mangler -
KT-54028Native / JS: Using private object implementing a sealed interface causes a linker error -
KT-57423KJS: Add an annotation for external interfaces which allows to be inherited only by other external interfaces, classes or objects -
KT-57711K2: Native & JS fail to compile a KLIB that uses const val from a dependency KLIB -
KT-57078JS IC: Unbound symbol left inSymbolTableinJsIr[ES6]InvalidationTestGenerated.testBreakKlibBinaryCompatibilityWithVariancetests -
KT-57254Deprecateexternal enumdeclarations -
KT-57002KJS: "JsParserException: missing name after . operator" when a js(...) block contains an interpolated constant -
KT-56961JS IR: serializedIrFileFingerprints in klib manifest has a wrong format -
KT-56282KJS: Invalidate incremental cache in case of compiler internal errors
KMM Plugin
-
KT-55402"Framework not found SQLCipher": after selection of "Regular framework" as "iOS framework distribution" and installing SqlCihper through CocoaPods -
KT-55988KN debugger in KMM plugin for Android Studio can't recognize the source code
Language Design
New Features
-
KT-48872Provide modern and performant replacement for Enum.values() -
KT-15613Introduce special syntax for the until operator -
KT-4107Design and implement a solution for toString, equals and hashCode on objects (data object)
Fixes
-
KT-28850Prohibit protected visibility in final expected classes -
KT-39362Expect fun interface must have actual fun interface counterpart -
KT-48994Prohibit type unsound java fields assignments -
KT-58791Prolongate PROGRESSION_CHANGE_RESOLVE diagnostics to 2.x -
KT-53778Release stdlib API about "rangeUntil" operator in 1.9 -
KT-53653Export Enum.entries to Objective-C and Swift -
KT-55177Deprecate declaration of expect and actual counterparts of same class in one module -
KT-49110Prohibit access to members of companion of enum class from initializers of entries of this enum -
KT-47986Forbid implicit inferring a type variable into an upper bound in the builder inference context -
KT-57395Delay ForbidInferringPostponedTypeVariableIntoDeclaredUpperBound feature to LV 2.0 -
KT-55082Bump KLib version for Enum.entries -
KT-49264Deprecate infix function calls of functions named "suspend" with dangling function literal
Libraries
New Features
-
KT-58046Stabilize remaining kotlin.time API: time sources, time marks, measureTime -
KT-58074Stabilization of Atomics API in K/N -
KT-55268Mutiplatform@Volatileannotation -
KT-51908Provide common function for getting regex capture group by name -
KT-53263Path.createParentDirectories -
KT-7637Add toString() to standard delegates classes (NotNullVar, LazyVal, BlockingLazyVal, ...) -
KT-40728Add AssertionError constructor withcause: Throwableparameter to common stdlib -
KT-57298Avoid FileAlreadyExistsException from Path.createParentDirectories in case of parent is symlink
Performance Improvements
-
KT-54739buildmethod in collection builders (Set, Map, List) should return a single instance for empty collections -
KT-42589Provide common listOf(value) overload to avoid allocation of the vararg -
KT-55091Stdlib: Sequence.toSet() and Sequence.toList() may create the collection twice -
KT-57617Optimize ReversedListReadOnly iterator -
KT-57607KJS: Bad performance for ArrayList.addAll
Fixes
-
KT-58841Serialization: NPE when obtaining a serializer of a sealed base class with a self-referencing property -
KT-57728Explicitly specify level of stability of programmatically-accessible interoperability API -
KT-58985Update KClass.isData KDoc -
KT-57762Introduce HexFormat for formatting and parsing hexadecimals -
KT-55612Stabilize experimental API for 1.9 -
KT-58548Stabilize standard library API for Enum.entries -
KT-56400Disable compilation of atomicfu-runtime with legacy JS backend -
KT-58276Deprecate redundant public declarations in kotlin.native.concurrent -
KT-35973Extract org.w3c declarations from stdlib-js -
KT-58073JS/Legacy compiler blocks compilation of kotlinx.atomicfu with K2 -
KT-57317Repack EnumEntries from stdlib into the compiler -
KT-54702Native: mark Worker and related APIs as obsolete -
KT-55610Deprecate kotlin.jvm.Volatile annotation in platforms except JVM -
KT-57404Native: Support AnnotationTarget.TYPE_PARAMETER -
KT-57318Change EnumEntries stdlib implementation to be eager -
KT-57137Native: Consider removing ArrayAsList -
KT-56661Missing EnumEntries-related bytecode in kotlin-stdlib-1.9.255-SNAPSHOT.jar -
KT-51579PlatformImplementations loading is not compatible with graalvm native-image --no-fallback
Native
-
KT-54098Decommission and remove 'enableEndorsedLibs' flag from Gradle setup -
KT-52594Provide Alpha support for Native in the K2 platform -
KT-56071K2/MPP: Native build functionality -
KT-56218[K2/N] Receiver annotations for properties are not serialized -
KT-56326[K2/N] RemoveRedundantCallsToStaticInitializersPhase removes important static initializer -
KT-27002lateinitintrinsics frontend checkers aren't applied on Native
Native. Build Infrastructure
-
KT-58160Native: performance build configuration fails with NoSuchMethodError: 'boolean kotlinx.coroutines.CompletableDeferredKt.completeWith(kotlinx.coroutines.CompletableDeferred, java.lang.Object)'
Native. C and ObjC Import
-
KT-54610Kotlin Native can't callobjc_directfunctions -
KT-57918[K2/N] Support typealiases in FirClassSymbol<*>.selfOrAnySuperClass() -
KT-58651Native c-interop tool generates broken@Deprecatedannotations -
KT-57541Compilation fails without explicit cast on cinterop code -
KT-54805KMP ios memory leak when using CA Layer -
KT-57490[K/N] Duplicate package names for cinterop klibs with objc protocols fails to link
Native. ObjC Export
-
KT-58839K/N: Exception during HiddenFromObjC marked class extension function compiling -
KT-56464K/N: Allow HiddenFromObjC for classes -
KT-57507K2: Set of Objc exported declarations is different between K1 and K2
Native. Runtime
-
KT-58441Kotlin/Native:@ObjCAction@ObjCOutletgenerate bridges without switching state -
KT-57091Align Native and Java file/class initialization behavior
Native. Runtime. Memory
-
KT-56233[Kotlin/Native] Crash when enum values are accessed in multiple threads -
KT-58130Implement preview of custom allocator for Kotlin/Native -
KT-56402Native: if a Kotlin peer for an Obj-C object is created on the main thread, then Kotlin runtime should run objc_release for it on the main thread
Native. Stdlib
-
KT-57344Try to remove strange .equals overload on primitive types -
KT-57592Native: Remove the default parameter value for AtomicLong constructor
Native. Testing
-
KT-57349Enable more K2 MPP codegen/box tests for Kotlin/Native -
KT-57026K2: Fix Native test infrastructure for MPP
Reflection
-
KT-54833Reflection: Incorrect behaviour for Field.kotlinProperty function in companion objects -
KT-56650ArrayStoreException from InlineClassAwareCaller.call with an array of inline class -
KT-56093Metaspace leak in a Gradle plugin built with Kotlin 1.8.0 -
KT-55937Optimize implementation of kotlinFunction/kotlinProperty
Tools. CLI
-
KT-57495Add JVM target bytecode version 20 -
KT-57154Incorrect version of JDK is provided through CoreJrtFs -
KT-56209Add CLI support for HMPP in K2 -
KT-58351Confusing error message when using removed -Xjvm-default mode value -
KT-57535K2: Kotlin command line compiler doesn't see class files on the class path in 2.0 -
KT-57644K2: Prohibit passing HMPP module structure with CLI arguments to metadata compiler -
KT-56351Reduce memory usage spent on compiler settings
Tools. Commonizer
-
KT-57796NoSuchFileException in :module-B:commonizeCInterop with Kotlin 1.8.20 -
KT-56207Investigate failing tests in ClassifierCommonizationFromSourcesTest
Tools. Compiler Plugins
Fixes
-
KT-57821K2: Compiler calls declaration generation plugins twice for classes in the common source set -
KT-57406FIR Compiler plugins: Assignment plugin incorrectly recognizes qualified names of annotations -
KT-57626K2: SERIALIZER_NOT_FOUND for serializable class from another module -
KT-57400FIR Compiler Plugins:annotatedpredicate does not work with Java classes -
KT-57140K2: Implement backwards compatibility for FirFunctionTypeKindExtension -
KT-56685K2: ArrayIndexOfBound during session creation if compiler plugins are enabled -
KT-55375Remove "legacy" mode of jvm-abi-gen plugin -
KT-53470FIR: passMemberGenerationContextto all methods of FirDeclarationGenerationExtension -
KT-51092Lombok@Valuecauses IllegalAccessError -
KT-55885K2 plugin API: Backend-only declarations are not visible from other modules -
KT-55584K2: Improve registration of session components from compiler plugins -
KT-55843FIR Plugin API: metaAnnotated predicate returns meta-annotation itself as well -
KT-53874Optimize checking for plugin applicability and redesign DeclarationPredicates
Tools. Compiler plugins. Serialization
Fixes
-
KT-58954Serialization: NPE at run time when accessing a delegating property of a deserialized object -
KT-56537Serialization: Presence of (transient) delegated field in the serialized class breaks deserialization -
KT-58918Serialization: NPE at run time obtaining a serializer for a sealed class with a generic self-referencing property -
KT-59113Serialization: NPE at run time when accessing a delegating property of a deserialized object -
KT-57647Serialization: "IllegalAccessError: Update to static final field" caused by serializable value class -
KT-57704K2/serialization: false-positive SERIALIZER_NOT_FOUND when compiling against 1.7.20 binary with enum class -
KT-57083K2/serialization: can't resolve serializers for classes from other modules -
KT-56480K2: false-positive warning about incompatible serializer type when using type aliases -
KT-56594K2/serialization reports SERIALIZER_NOT_FOUND over aliased String or primitive types -
KT-56553Support 'serialization plugin intrinsics' feature in K2 -
KT-56244kotlinx.serialization compiler intrinsic does not work with encodeToString function in 1.8.0
Tools. Daemon
-
KT-50846Remove "new" Kotlin daemon from codebase
Tools. Gradle
New Features
-
KT-56971Expose jvmTargetValidationMode property in KotlinCompile Gradle task -
KT-57159Add project level compiler options for Kotlin/JVM plugin
Performance Improvements
-
KT-57052Gradle: Stop using exceptions for flow control -
KT-57757Reduce classpath snapshotter memory consumption -
KT-56052Implement an in-memory wrapper for PersistentHashMap to avoid applying changes to IC caches before successful compilation
Fixes
-
KT-55624Update KGP integration tests that use removed in Gradle 8 getClassifier method -
KT-59589Gradle: 'java.lang.NoClassDefFoundError: com/gradle/scan/plugin/BuildScanExtension' on 1.9.0-RC when applying Enterprise Plugin from initscript -
KT-59063Explicit API mode broken in Kotlin 1.9.0-Beta -
KT-57653Explicit API mode is not enabled when free compiler arguments are specified in Gradle project -
KT-59256[1.9.0-Beta] ServiceLoader does not pick up classes defined in the same project -
KT-58662Gradle 8.1 + Configuration Cache: custom values data is missing from build report -
KT-58280org.jetbrains.kotlin.jvm Gradle plugin contributes build directories to the test compile classpath -
KT-59191Actual compilation failure exception might be hidden in the case of a Kotlin daemon crash -
KT-56211Improve Kotlin build reports -
KT-57767Gradle: "ZipException: invalid entry size" with 1.8.20 -
KT-57736K2: Introduce an easy way to try K2 compiler in Gradle user projects -
KT-59056FreeCompilerArgs options added using 'subprojects' extension override module-level freeCompilerArgs options -
KT-55740Gradle 8: Listener registration using Gradle.addBuildListener() has been deprecated -
KT-37652Support explicit mode for Android projects -
KT-58251Build Statistics. Kotlin-specific tags are missing in build scans if projects use Gradle 8+ -
KT-57224Add an indicator into build metrics report to show whether K1 or K2 compiler was used to compile the code -
KT-58571ExplicitApi mode should not apply for test compilations -
KT-42718Test and AndroidTest sources should be excluded from explicit API requirements for libraries -
KT-58916[1.9.0-Beta] PLUGIN_CLASSPATH_CONFIGURATION_NAME and NATIVE_COMPILER_PLUGIN_CLASSPATH_CONFIGURATION_NAME should stay public or offer an alternative API -
KT-58869K2, Gradle: Improve message "100% (2/2) tasks have compiled with Kotlin 2" -
KT-52811Kotlin Serialization metadata issue due to incompatibility between Gradle Kotlin embedded version and Kotlin Gradle Plugin version -
KT-57330Provide collection of usage statistics for the Dokka -
KT-57393jvm-target value set through 'android.kotlinOptions' is ignored and overwritten with the default 1.8 value -
KT-58745KaptGenerateStubs task should also be configured with the same compiler plugin options -
KT-58682Explicit api mode does not apply in MPP projects -
KT-52976Remove deprecated Gradle conventions usages -
KT-58530Compiler plugin unbundling changes should be backward compatible with Kotlin plugin -
KT-36904Adding folders to sourceSets.resources.srcDir() in Gradle script does not work -
KT-58313An exception in console if no task is executed and file build reports are enabled -
KT-58619Move all pm20 interfaces into Gradle plugin codebase -
KT-58320Kotlin daemon OOM help message is missing on OOM in Kotlin Daemon itself -
KT-53923Add 'progressive' compiler argument to Gradle compiler options -
KT-53924Add 'optIn' compiler arguments to Gradle compiler options -
KT-53748Remove KotlinCompile setClasspath/getClasspath methods -
KT-56454Bump minimal support AGP version to 4.2.2 -
KT-57397Add infrastructure to use the build-tools-api to run compilation from Gradle -
KT-56946Switch incremental Gradle tests for K2 to use language version 2.0 -
KT-57782Disable daemon fallback strategy for Gradle integration tests by default -
KT-57142Split org.jetbrains.kotlin.gradle.tasks/Tasks.kt into several source files -
KT-54447Remove usage of deprecated internal Gradle field in Kotlin Gradle Plugin, replace with equivalent in public API -
KT-49785Avoid creating task output backups until really needed -
KT-56047False positive message about full recompilation is displayed while restoring from build cache and then making a syntax error -
KT-56421Gradle: plugin should not use BasePluginExtension deprecated properties -
KT-55241Gradle: the VariantImplementationFactories build service state is not persistent making impossible to access factories with configuration cache lazily -
KT-56357Gradle: "DefaultTaskCollection#configureEach(Action) on task set cannot be executed in the current context" because of VariantImplementationFactories -
KT-56352Make build scan reports more readable -
KT-55972Gradle: Add an assertion to all integration tests ifwarningModeis notFAIL, but the build doesn't produce any warnings
Tools. Gradle. Cocoapods
-
KT-38749Support reusing generated C-interop between dependant pods -
KT-54161Support adding extra code to generated Podfile from the Kotlin gradle plugin -
KT-56162Provide granular Gradle warnings suppression for CocoaPodsIT
Tools. Gradle. JS
New Features
-
KT-48791KJS: Support for Power(ppc64le) and Z(s390x) -
KT-32209org.jetbrains.kotlin.js does not respect Gradle's archivesBaseName -
KT-52646KJS / Gradle: make "KotlinCompilationNpmResolver already closed" a warning -
KT-52647KJS / Gradle: Make "Projects must be configuring" a warning -
KT-56158KJS: Support implementation dependencies
Fixes
-
KT-59604Unresolved reference: useKarma in convention plugin -
KT-57604JS, Space: Circular dependency between tasks -
KT-59116K/JS npm dependcies are not resolved properly on Kotlin 1.9 -
KT-54731KJS / Gradle: "There are multiple versions of "kotlin" used in nodejs build: 1.6.21, 1.7.20." with kotlin-dsl in buildSrc -
KT-58970browserTest gradle task fails if karma is used and gradle configuration cache is enabled -
KT-59004Kotlin JS 1.9.0-Beta, yarn.lock is unstable in multi module project -
KT-56458KJS / Gradle: Unnecessary and confusing "There are multiple versions of "kotlin" used in nodejs build" generated fromYarnImportedPackagesVersionResolver -
KT-57985K/JS:packageJsonGradle configurations don't inherit unique attributes from JsTarget DSL -
KT-57817JS: executables for couple of JS targets builds in the same directory -
KT-58199K/JS: Remove useCoverage method -
KT-57116KJS / Gradle:commonWebpackConfignot applied if called afterbinaries.executable() -
KT-58522K/JS: Upgrade NPM dependency versions -
KT-57629K/JS: Change default destination of JS production distribution -
KT-57480K/JS: Use IR compiler by default without explicit choosing of js compiler -
KT-58345K/JS: Webpack task skipped with ES modules because files have mjs extension -
KT-58071KJS / Gradle:jsNodeTesttask is not incremental -
KT-43809KJS: browserProductionExecutableDistributeResources tasks deletes distributions directory -
KT-56690Kotlin2JsCompiler friendDependencies cannot be configured through friendPaths -
KT-57920K/JS: Make imported NPM package not considering dev dependencies -
KT-56025KJS / Gradle: Gradle 8.0 jsBrowserProductionWebpack uses the output of another project's jsProductionExecutableCompileSync -
KT-57630K/JS: webpack updating twice on one change of kt sources -
KT-47351KJS / IR::jsTestPackageJsonis unable to find nested included builds under composite build -
KT-44754K/JS:browserRun --continuouskeeps rebuilding without any changes -
KT-49774KJS / Gradle: Errors during NPM dependencies resolution in parallel build lead to unfriendly error messages like "Projects must be closed" -
KT-57387Remove support of webpack 4 -
KT-57386Kotlin/JS upgrade npm dependencies -
KT-56705KJS / Gradle: Module name starting with '@' isn't properly set when FUS is disabled -
KT-46428KJS / IR: Composing build failed "Failed to create MD5 hash for package.json" -
KT-53687Don't trigger npm and yarn related tasks if it not relevant for assemble -
KT-49915KJS / Gradle: Gradle build cache miss because of absolute path inKotlinJsIrLink.filteredArgumentsMap -
KT-56192KJS: In browser testing no original sources in stacktrace -
KT-42395Kotlin/JS: Gradle DSL: PackageJson.customField() does not accept null -
KT-43305Support Node.JS downloading for Ubuntu -
KT-48631KJS: Unconditionally uses linux/x86 binaries -
KT-38015NodeJS installation does not extract symlinks correctly (npm and npx)
Tools. Gradle. Multiplatform
New Features
-
KT-34662Provide an option for Android targets to compile & runcommonTesttests as unit tests only, instrumented tests only, or both -
KT-55881Add possibility to enable/disable sources publication similar to Java Gradle Plugin API
Fixes
-
KT-59446MPP: transformCommonMainDependenciesMetadata failing for api java dependency in shared jvm source set with Future was not completed yet -
KT-55751MPP / Gradle: Consumable configurations must have unique attributes -
KT-57688MPP:compileDebugKotlinAndroidtask fails with llegalArgumentException: 'moduleName' is null! -
KT-56210Pass module structure to CLI of K2 if K2 enabled -
KT-57531KotlinNativeLink: StackOverflowError when consuming library with dependency cycles (from constraints) -
KT-58281Kotlin Gradle Plugin: Enable Kotlin/Android SourceSetLayout v2 by default -
KT-57903Prepare for migration to the pluggable android target plugin -
KT-49933Support Gradle Configuration caching with HMPP -
KT-58661KGP: KotlinJvmTarget: Implement 'run' carrier task -
KT-59055KotlinJvmRun not respecting jvmToolchain setting -
KT-57959Module-name value can't be changed for the android target of a multiplatform project -
KT-55506TCS: Gradle Sync: kotlin-stdlib-common is not filtered from JVM + Android source sets -
KT-57652Don't expose sourcesElements for project2project dependencies -
KT-58601Finalise "ExternalKotlinTargetApi" shape for initial 1.9 release -
KT-58710External Target Api: Add API to control SourceSetTree -
KT-58488Add a diagnostic message to KGP in case of val androidTest by getting usage -
KT-57482cleanNativeDistributionCommonization is not compatible with configuration cache with gradle 8.0 -
KT-58062Commonizer configuration cache not compatible with Gradle 8.1 -
KT-58086Warn about using MPP libraries published in the legacy mode -
KT-56439TCS: Gradle Sync: IdeBinaryResolver: Add componentFilter API for compilations/configurations -
KT-57023Cryptic Gradle task descriptions for compile tasks -
KT-58470Warning about using MPP libraries published in the legacy mode is not reported if the dependency is declared in an intermediate source set -
KT-58466K2 Gradle: non *.kt files are passed to -Xfragment-sources -
KT-58319kotlin.git: ProjectMetadataProviderImpl "Unexpected source set 'commonMain'" -
KT-51940HMPP resolves configurations during configuration -
KT-58261Link kotlin native binary framework tasks fails when configuration cache is enabled -
KT-41506UnknownDomainObjectException: "KotlinSourceSet with name not found" when creating custom compilations after applying withJava to an MPP JVM target -
KT-58209Do not use the term 'Module' in KotlinTargetHierarchy -
KT-56153When the dependency is unresolved, import fails and don't import anything instead of degrading gracefully -
KT-56571New import broke apiVersion for commonMain, commonTest and jvmAndAndroidMain modules -
KT-56712Multiplatform;Composite Builds: Classpath isolation: .MppDependencyProjectStructureMetadataExtractorFactory cannot be cast to class *MppDependencyProjectStructureMetadataExtractorFactory -
KT-56461MPP: resolvableMetadataConfiguration: Ensure consistent resolution across all compile dependencies -
KT-56841MPP: Module-to-module dependencies don't work inside included build in included build -
KT-42748Project that transitively depends on composite build of multimodule multiplatform library cannot resolve dependencies properly -
KT-52356MPP / Gradle: Missing common classes on KMM project integrated via Gradle included build into an Android application -
KT-51293Unresolved references with hierarchical project structure when building KotlinMetadata from native-common source set -
KT-56700V2 MPP Source Set layout warnings should include link to docs -
KT-55926TCS: Gradle Sync: Import Extras on KotlinSourceSet and KotlinTarget -
KT-55730MPP / Gradle: compileKotlinMetadata fails to resolve symbols in additional source sets
Tools. Gradle. Native
-
KT-58838KGP/Multiplatform: 1.9.0-Beta with custom cinterops: IllegalStateException: Could not create domain object 'jni' (DefaultCInteropSettings) -
KT-57823KotlinNativeCompileOptions.moduleName value is ignored and replaced with the default one if to set up using compilations -
KT-57815KotlinNativeCompileOptions.moduleName isn't accessible if to configure using compilerOptions.configure {} -
KT-57944K2: K2, MPP, Native: K2 reports "Source does not belong to any module" for native sources -
KT-53108Expose Kotlin/Native compiler options as Gradle DSL -
KT-58063Kotlin/Native tasks configuration cache are not compatible with Gradle 8.1 -
KT-38317Kotlin/Native: NSURLConnection HTTPS requests fail in iOS tests due to --standalone simctl flag -
KT-56280Gradle: freeCompilerArgs are no longer propagated from compilations to Native binaries
Tools. Incremental Compile
-
KT-58289IC fails to detect a change to class annotations -
KT-58986New IC: ISE "The following LookupSymbols are not yet converted to ProgramSymbols: LookupSymbol(name=$$delegatedProperties, ...)" -
KT-56197If use classpathSnapshot, the invoke place of subclass's super function who has default parameters will not recompiled if it is incremental build -
KT-56886K2: Changes to Java sources used in Kotlin project do not trigger a rebuild if a previous build was successful
Tools. Kapt
-
KT-54468KAPT Gradle plugin causes eager task creation -
KT-59521Kapt maven plugin require version of annotation processor -
KT-58301K2: Compile Kotlin task failure for the generated by Kapt sources : 'Source NameOfTheGenerated.kt does not belong to any module -
KT-57598K2: Support a fallback mode executing Kapt with K1 even when the compiler is run with languageVersion=2.0 -
KT-58226KAPT: “org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtNameReferenceExpression” with enum with secondary constructor
Tools. Maven
-
KTIJ-25445Maven. JVM target is imported as 1.6 when no target specified in pom.xml
Tools. Parcelize
-
KT-59112K2: "IllegalStateException: Function has no body with@Parcelize" on nested sealed class hierarchies
Tools. Scripts
-
KT-58366The obsolete kotlin-script-util jar is still published and contains broken JSR-223 implementation
Tools. Wasm
-
KT-56585Change wasmBrowserRun Browser Executable to System Default -
KT-56159Running (karma) tests doesn't work in a project generated by wizard "Browser Application for Kotlin/Wasm" -
KT-57203Update Kotlin/Wasm to support Gradle 8
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.9.0.zip | 1fc50d805f9809e92de43e91f089cc8618567c1a350faebdabf8a40c5048bee8 |
| kotlin-native-linux-x86_64-1.9.0.tar.gz | 18bd17e7541baef5ace0303ee463f4185c2d56369382f1b9822ece7215b2a8ec |
| kotlin-native-macos-x86_64-1.9.0.tar.gz | 9ca355eacfb2986cfd2e579831ac4932df6d5f8a6cbaccc553875f8f0d884226 |
| kotlin-native-macos-aarch64-1.9.0.tar.gz | 5086850c7118a0141d55e8427efa4a9e76f1201f4d4d97a137d4732f4efd481c |
| kotlin-native-windows-x86_64-1.9.0.zip | 989cb5cb28da87ad0ae2a9469dbbce227165014217ec472eeb78468045dcb766 |
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Niklas Wimmer