You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KT-80082 K2. False positive "Cannot resolve method" for self-bounded generic with wildcard return type in Java interop
KT-80303 Move :native:analysis-api-klib-reader to :libraries:tools
Analysis API. Code Compilation
KT-70860 K2 IDE / Kotlin Debugger: CCE “java.lang.String cannot be cast to java.lang.Void” on evaluating not-null variable on the line with assigning null to that var
KT-78554 K2 IDE / Kotlin Debugger: ISE “No override for FUN IR_EXTERNAL_DECLARATION_STUB” on calling toString() for local class instance during evaluation
KT-73201 K2 IDE: Error while evaluating expressions with local classes
Analysis API. FIR
KT-81378 Expected expression 'FirFunctionCallImpl' to be resolved caused by suspend {}
KT-60490 Symbol Light Classes: Property accessors from a delegated interface don't present in the delegating class
KT-79689 SymbolLightClassForClassLike.toString() causes PSI tree loading
KT-80690 Private interface functions are not present in light classes
KT-80256 K2: Certain actions in JPA code causes infinite PIEAE: "Element class CompositeElement of type REFERENCE_EXPRESSION (class KtNameReferenceExpressionElementType)"
KT-79012 Add a high-level overview of light classes
Analysis API. Providers and Caches
Fixes
KT-81476 Analysis API: AlreadyDisposedException from low-memory cache cleanup
KT-80911 Analysis API: Execute session invalidation in a non-cancelable section
KT-81242 Analysis API: Add UUID/lifetime properties to LL FIR session structure logging
KT-80622 Analysis API: Visualise LL FIR session structure & weight
KT-78882 K2 AA: Calling containingSymbol on getProgressionLastElement causes exception
KT-58325 Analysis API: Combine LLKotlinStubBasedLibrarySymbolProviders in session dependencies (optimization)
KT-77825 Analysis API: CheckersComponent consumes a lot of memory while being unused in LL FIR sessions
KT-76526 Incorrect built-in module is provided for non-JVM sources in Standalone
KT-62549 Analysis API: Cache callables in combined Kotlin symbol providers
KT-70721 LL FIR: investigate possibility of moving LLFirFirClassByPsiClassProvider . getClassByPsiClass (PsiClass) to symbol providers
KT-72998 Analysis API: Introduce getClassLikeSymbolByPsi to LL FIR symbol providers
Analysis API. Standalone
KT-81108 AA: java.lang.ClassCastException: class org.jetbrains.kotlin.fir.FirBinaryDependenciesModuleData cannot be cast to class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData
KT-80573 Potential performance issue on class ID computation
KT-80559 Try to optimize KotlinStandaloneDeclarationProviderFactory startup for tests
KT-71706 Analysis API Standalone: StandaloneProjectFactory.createSearchScopeByLibraryRoots creates inefficient file-based search scopes
Analysis API. Stubs and Decompilation
Performance Improvements
KT-77097 Support ReplaceWith deprecation annotation argument via stubs
KT-79095 isOverride shouldn't trigger resolution if not compiler plugins present
Fixes
KT-80234 Incorrect value of isActual for the implicitly actual constructor of annotation class
KT-81132 Use KaSession instead of a particular KaSessionComponent for context parameter bridges
KT-81129 K2: KaSymbolInformationProvider#importableFqName: should return null for dynamic declarations
KT-81128 K2: KaSymbolInformationProvider#importableFqName: should return null for error destructuring declarations
KT-81127 K2: KaSymbolInformationProvider#importableFqName: should return null for anonymous functions
KT-81126 K2: KaSymbolInformationProvider#importableFqName: should return null for enum entry initializer constructors
KT-81125 K2: KaSymbolInformationProvider#importableFqName: should return null for property accessors
KT-81124 K2: KaSymbolInformationProvider#importableFqName: type alias constructor should have a reference to the type alias and not to the underlying class
KT-70127 Analysis API: 'KaFirReceiverParameterSymbol' does not implement 'KaFirSymbol'; leads to exception from importableFqName
KT-80837 Warn about extension function with a context shadowed by member
KT-80768 Warning on overloading by a superset of context parameters in class context
KT-80031 Check spotbugs's @CheckReturnValue in Kotlin's unused return value checker
KT-79380 Native: add performance measurement for the rest of backend phases
KT-79381 Native: add performance measurement of LLVM phases
KT-80222 Implement the prohibition of always-false is checks for definitely incompatible types
KT-79295 Parse and build raw FIR from new short and full forms of positional destructuring with square brackets
KT-74810 Support typealiased/mapped Java types in unused return value checker
KT-71244 Incorporate existing @CheckReturnValue annotation(s) into Kotlin's unused return value checker
KT-79922 Record 'MustUse/ExplicitlyIgnorable' state for overrides even in disabled RVC mode
KT-79920 Store 'Explicitly ignorable' state of function/property in the metadata
KT-79690 Implement a USELESS_ELVIS_LEFT_IS_NULL with elvis expression
KT-79296 Implement/adapt diagnostics for new destructuring
KT-79298 Report errors on new destructuring syntax in K1
Performance Improvements
KT-81617 Native: casts optimizations pass explodes on deep nested loops
KT-80554 Kotlin/Native: investigate performance hit from always-on llvm pass profiling
KT-81340 K/N: severe compilation time degradation after turning on casts optimization pass
KT-80370 Add NO_INLINE attribute to some of runtime functions
KT-80167 K/N: condense the nodes and edges in DevirtualizationAnalysis constraint graph
KT-79535 Revert incorrect SAM conversion enhancements brought to K2
Fixes
KT-79979 K2: ClassCastException when overriding extension property with delegation
KT-82590 ClassCastException when instantiating class with generics implemented by fun interface and lambda
KT-78881 K2: False positive "Assigned value is never read" in composable function
KT-79276 Dexing fails with "Cannot read field X because is null" with 2.2.0
KT-79547 "UnsupportedOperationException: Not supported" with inlining and value classes
KT-79442 "Multiple annotations of type kotlin.coroutines.jvm.internal.DebugMetadata": 2.2.0-Beta1 generates broken code with JVM default suspend methods in interfaces
KT-80744 Kotlin failure on lambda with type parameter
KT-81618 "Number of arguments should not be less than number of parameters" on JVM on Kotlin 2.3.0-Beta1
KT-82869 Green-to-Red change in 2.3 after prioritizing non-suspend-function-type overloads
KT-79611 "IllegalStateException: couldn't find inline method": Exception during incremental compilation
KT-78895 Consider dropping isLocalInFunction and FirClassLikeDeclaration.isLocal
KT-79231 Inconsistent InnerClass entry flags for abstract inner enum
KT-20677 Improve diagnostic about implicit default constructor absence for expected annotation class
KT-81385 Missing error of nullable expression in class literal in case of reified type parameter
KT-81251 Smartcast doesn't work for an effectively private inline function
KT-81245 Automatic smart cast on properties with EBF is allowed on inlined property accessors
KT-81222 Custom getter is allowed on a property with redundant EBF
KT-80795 Wrong type cast is added for IMPLICIT_COERCION_TO_UNIT
KT-81141 Fix FirUnsupportedArrayLiteralChecker to forbid array literals inside non-annotation contexts
KT-81383 Return type of anonymous function used as run argument is incorrectly inferred to Nothing
KT-80577 "Return type mismatch" for self-referential types used as generic parameters
KT-75215 KDoc: references from @param tag are rendered as plain text
KT-79887 K2 Compiler Internal Error in 'FirFakeOverrideGenerator.checkStatusIsResolved' Method
KT-78125 false-negative shadowed contextual overload warning on local declarations
KT-81198 Move type and type parameter annotations from jvm_metadata.proto to metadata.proto
KT-81057 Wrong handling of boxing during redundant casts optimization
KT-81191 K2: "null cannot be cast to non-null type ConeTypeParameterLookupTag" with invalid code
KT-80285 IJ monorepo: broken compilation after 2.2.20-RC update
KT-81115 Allow converting lambda with explicit parameter when assigning to variable of an extension function type
KT-74588 Redundant checkNotNull intrinsics instructions for Java generic methods
KT-78390 Unmute FusStatisticsIT.testKotlinxPlugins() after AtomicFU updates kotlin-metadata-jvm
KT-79369 Forbid typealiasing for all compiler-required annotations
KT-69294 K2: Report CONSTRUCTOR_OR_SUPERTYPE_ON_TYPEALIAS_WITH_TYPE_PROJECTION_ERROR instead of EXPANDED_TYPE_CANNOT_BE_INHERITED after switching to LV 2.2
KT-80849 K2: ConstValueProviderImpl doesn't distinguish files with same name and package
KT-80602 Exhaustiveness checker improvements for 2.3
KT-80735 Support || return/throw shortcut in unsed return value checker
KT-79651 Report a warning about an unused return value only on the function name
KT-80719 False positive: "Redundant visibility modifier": when overriding protected methods as "public"
KT-80434 K2: DSL marker doesn't work with lambda fields
KT-80383 Getter without a body is allowed on a property with an explicit backing field
KT-80446 Explicit visibility modifiers are allowed on EBF
KT-80378 ClassCastException on callable reference to a property with EBF
KT-80377 Fir2Ir: "Cannot determine expected receiver type" for callable reference to a property with EBF outside of class
KT-80455 K2: StackOverflowError in when exhaustiveness checker on red code
KT-72862 [Native caches] Umbrella for failing codegen/box tests for corner cases in synthetic accessors
KT-20278 NO_TYPE_ARGUMENTS_ON_RHS: Confusing diagnostic for inner class of generic outer class
KT-80418 Property with EBF with functional type isn't resolved if its type is Any
KT-80469 Functional type from property is always used for explicit backing field
KT-80535 Missing INITIALIZER_TYPE_MISMATCH for EBF
KT-80445 Private visibility is possible for a property with EBF
KT-80164 Move name generation for unnamed context parameters to frontend
KT-80684 Line breaks are lost in multi-line diagnostic messages since 2.3.0
KT-78112 RETURN_VALUE_NOT_USED is reported for local function even if it isn't marked with annotation in CHECKER mode
KT-48311 Incorrect LINENUMBER after if with a suspend call
KT-80688 Bad SourceDebugExtension caused by enhanced coroutines debugging
KT-73851 Native: compilation fails with ClassCastException with genericSafeCasts=true
KT-77593 Add a warning when @IgnorableReturnValue is inconsistent between expect/actual functions
KT-79386 Confusing error message when named parameters are used for java method calls
KT-80600 K2: Private and final modifiers are allowed on setter of open delegated property
KT-77101 Invoke on callable reference is considered ignorable
KT-79923 Remove lookup of @IgnorableReturnValue annotation from FirReturnValueOverrideChecker
KT-80517 Synthetic kotlin.Any members in data classes are missing @MustUseReturnValue
KT-80194 VAR_TYPE_MISMATCH_ON_OVERRIDE: doesn't mention the inferred type
KT-80484 K2: ClassCastException due to fake source for implicit lambda parameter (RedundantNullableChecker)
KT-80592UninitializedPropertyAccessException when anayzing annotations on members of anonymous classes
KT-80399 Anonymous Kotlin class incorrectly warns about deprecated java override despite '@Deprecated' annotation
KT-79610 Adding CocoaPod to Kotlin/Native MPP triggers IR serialization failure and commonizer errors
KT-79951 Infinite loop in parsing incomplete full form destructuring
KT-79866 kotlinc 2.2.0 silently emits 'NonExistentClass' instead of reporting an error
KT-79777 Argument type mismatch on value of complex type with a captured raw type argument
KT-78664 False positive VARIABLE_NEVER_READ and ASSIGNED_VALUE_IS_NEVER_READ on function type variable with splited declaration and assignment
KT-79496 False positive "when must be exhaustive" in triangle interface/class hierarchy
KT-79774 KtDestructuringDeclaration.getLPar & getRPar are broken
KT-80391 K2: Only one context parameter is mentioned in the [NO_CONTEXT_ARGUMENT] diagnostic
KT-79785 ktypew:kotlin.collections.List already exists error using Swift Export
KT-78879 "Sealed types cannot be instantiated": Can't instantiate Java-defined sealed Class from Kotlin
KT-21598 Extension is shadowed by member should not be reported when member is deprecated with HIDDEN level
KT-79622 FUNCTION_EXPECTED: Misleading 'expression cannot be invoked as a function' when inaccessible with private lambda
KT-80255 [EXTENSION_FUNCTION_IN_EXTERNAL_DECLARATION] can be attached to the receiver type of a functional type
KT-79816 Java Interfaces implemented by delegation have non-null return checks
KT-80177 Improve message of RECEIVER_SHADOWED_BY_CONTEXT_PARAMETER in case of member extension
KT-79770 There is no RECEIVER_SHADOWED_BY_CONTEXT_PARAMETER if the usage of fun is from inside the class
KT-79430 False positive EXTENSION_SHADOWED_BY_MEMBER on overridden member extension
KT-62934 Incorrect line mapping inside inline lambda after non-local return
KT-79545 K2: no error on crossinline lambda usage in anonymous object base constructor call
KT-79643 HAS_NEXT_FUNCTION_AMBIGUITY and NEXT_AMBIGUITY diagnostics are always ignored in favor of HAS_NEXT_FUNCTION_NONE_APPLICABLE and NEXT_NONE_APPLICABLE
KT-79327 Modifier 'private' is not applicable to 'value parameter' is reported for context parameters
KT-77182 A function in a file annotated with @file:MustUseReturnValue doesn't produce a warning when it is used from compiled code
KT-78541 Jspecify: Unsound platform type despite @NullMarked for an override with a generic-subclass return type
KT-79672 'when expression must be exhaustive' even after using 'require()'
KT-71306 K2 IDE / Kotlin Debugger: “Cannot find local variable 'block' with type kotlin.jvm.functions.Function0” on evaluating lambda arg inside inline function
KT-76991 K2 IDE / Kotlin Debugger: ISE “Couldn't find declaration file for” on evaluating local fun when the scope has also inline fun from another file call
KT-79877 K2 IDE / Kotlin Debugger: failed evaluations of a code fragment capturing local data class
KT-77401 [FIR] ParameterNameTypeAttribute.name doesn't support @ParameterName with compile-time constant property argument
KT-79682 Fix partially uninitialized locals after coroutine spills insertion
KT-79562 NPE when passing non-lambda argument of nullable non-suspend function type into function that accepts nullable suspend function type
KT-79693 NotImplementedError: An operation is not implemented: Unknown file with KMP separate compilation
KT-79662 Unused return value checker doesn't work for com.google.errorprone.annotations.CheckReturnValue
KT-79781 Missing MISSING_DEPENDENCY_CLASS when using type alias with inaccessible RHS
KT-77772 Only report exposed type on qualifier if it's resolved to an object
KT-79765 K2. Do not report ignore return value for unresolved reference
KT-79017 False negative REDECLARATION on private nested class
KT-79519 Nested type alias is unreachable from another module
KT-72039 StackOverflowError on calling keySet on a Kotlin subclass of Java subclass of ConcurrentHashMap
KT-75843 K2: incorrect line numbers in an if-expression with a super-call
KT-77504 Add a warning when @IgnorableReturnValue is inconsistent on overrides
KT-81081 Generate Compose-specific proguard mappings when Compose compiler plugin is applied.
b/431025881 [Compose] Clean up runtime version checker
b/365922168 Add java.util.Locale to the list of known stable classes
b/407549020 Introduce a registry of known stable markers
b/417989445 Added a diagnostic to restrict usages of runCatching in @Composable functions
KT-80294 Fix crash with inline @Composable function reference
b/430140896 Fix IrSourcePrinter output for when branch check and typechecks
CMP-9167 iOS: Platform declaration clash: The following functions have the same IR signature
IDE. Gradle Integration
KT-46273 MPP: Don't fail import for case of missed platform in source set structure
KT-46417 [UNRESOLVED_REFERENCE] For project to project dependencies of native platform test source sets
KT-44845 After update to Kotlin 1.4.30 all external dependencies is unresolved in IDE with kotlin.mpp.enableGranularSourceSetsMetadata=true
KT-46142 K/N distribution is unavailable from IDE with multiplatform hierarchical project structure enabled
IR. Actualizer
KT-77337IrNoExpectSymbolsHandler finds expect class reference after enabling annotation traversal in IR
KT-80002 Investigate the need for map copying in IrCommonToPlatformDependencyExtractor.kt
KT-80131 KMP Separate Compilation: No override for FUN IR_EXTERNAL_DECLARATION_STUB name:
KT-80064 KMP Separate Compilation: ClassCastException: class org.jetbrains.kotlin.ir.symbols.impl.IrTypeAliasSymbolImpl cannot be cast to class org.jetbrains.kotlin.ir.symbols.IrClassSymbol
KT-80051 KMP Separate Compilation: Actualization of common dependencies failed on 'PROPERTY FAKE_OVERRIDE name:modCount visibility:protected modality:FINAL [fake_override,var]'
KT-79998 KMP Separate Compilation: java.lang.IllegalStateException: No override for FUN IR_EXTERNAL_DECLARATION_STUB name:
IR. Inlining
New Features
KT-70360 KLIBs: Uniformly handletypeOf() calls at 1st/2nd stages of compilation
Performance Improvements
KT-69497 Crossinline lambda is allocated on K/N & JS
Fixes
KT-78673 Make fakeOverrideLocalGenericBase not using red code
KT-78537 [Inliner] Incorrect KFunction.name of a reference to inlined local function
KT-74892 Investigate passing inline lambda as argument of another inline function
KT-81673 False warnings about ABI change in dependencies in library mode in 2.3.0-Beta1
KT-81713 [Inliner] Compilation of inline function with recursive call applied to TODO() fails with an internal error
KT-80653 [IR Inliner] Space: "Local declarations should've been popped out by this point"
KT-78392 CommonPrefix: Add a way of stopping execution when one of the phases is unsuccessful
KT-80927 [Native] Review intrinsics with PublishedApi
KT-72594 [JS][Native] Add IrInliningFacade to test runners
IR. Interpreter
KT-72356 K2 Native: IllegalStateException when annotation has the same source range as a constant in another file
KT-72881 K2: incorrect empty array as annotation argument when parameter has default value
IR. Tree
Fixes
KT-79371 Fix handling of broken SAM conversion in PL with enabled Rich References
KT-81952 "IllegalStateException: Callable reference with vararg should not appear at this stage" for callable references to functions with generic vararg parameters
KT-79739 Static synthetic accessors inside generic classes access its type parameters
KT-78100 Track and annotate internal annotations with @PublishedApi to enable annotation visibility validation
KT-80825 Drop IrSerializationSettings.reuseExistingSignaturesForSymbols setting
KT-79807 Broken IR tree invariants in IrReplSnippet after FIR2IR
KT-77819 [IR] Fine-tune IrValidator's run after Fir2IR and IR plugins
KT-70160 Remove IrDeclaration.parents after Anvil update
KT-80454 LocalDeclarationsLowering: Clean-up the dead code
KT-80819 Rework IrFileValidator to use Hashmap instead of ClassValue
KT-80516 Kotlin-like IR dump: Don't render tailrec as lateinit
KT-78856 Refactor LocalDeclarationsLowering to split it in smaller parts
KT-79439 KLIB stdlib symbols loading: Split the result of merging of IrBuiltins with BuiltinSymbolsBase hierarchy into two parts (for 1st & 2nd phases)
KT-79437 KLIB stdlib symbols loading: Drop loading functions from IrBuiltins and migrate usages to SymbolFinder functions and lazy filtering
KT-79569 Unexpected error during DFG phase in Native due to PL issue with SAM conversion represented by rich reference
KT-76601 IrValidatorConfig should have all checks disabled by default
KT-69662 Deduplicate function createTemporaryVariable
KT-79440 KLIB stdlib symbols loading: Drop BuiltinSymbolsBase from plugin API
KT-78960 [FO] Limit static fake overrides generation for static functions
KT-76813 IR validator: not all symbols/references are visited
JVM. Reflection
KT-79020 Suspend lambdas return type is shown as ??? in reflection
KT-81967 isSubtypeOf: ClassCastException: CapturedKType cannot be cast to class AbstractKType
KT-76521 Reflection: change KType representation to avoid dependency on K1
KT-81619 Reflection: Function supertype of a FunctionN class has flexible type in new implementation
KT-79867 CompilerConfiguration.configureSourceRoots puts obfuscated file paths instead of ones passed on classpath to CLIConfigurationKeys.CONTENT_ROOTS
KT-80348 Expose 'XXLanguage' compiler argument as a normal argument
KT-80428 KMP Separate Compilation: Handle friend dependencies
KT-74590 Deprecate -Xjvm-default in favor of -jvm-default
KT-80349 KMP Separate Compilation is enabled on non-KMP compilations
KT-79982 Fix description of -Xjspecify-annotations
KT-79403 Improve generator for deprecated CLI arguments
KT-75968 Set proper lifecycle for all existing compiler arguments
KT-79293 Create Language Features and compiler argument with parameter for new destructuring features
Tools. Commonizer
KT-49735 [Commonizer] :commonizeNativeDistribution fails for projects with two or more same native targets
KT-47523 MPP: Unable to resolve c-interop dependency if platform is included in an intermediate source set with the only target
KT-48118 Commonized c-interop lib is not attached to common main source set
KT-46248 MPP: Compile KotlinMetadata fails with Unresolved reference if only one native platform from shared source set is available
KT-75865 Provide an API for setting the file name for the file with top-level declarations generated by a plugin
Tools. Compiler Plugins
New Features
KT-81091 [DataFrame] Receivers from FirExpressionResolutionExtension are not resolved in CodeFragment
Fixes
KT-64339 Symbol Light Classes: No Arg compiler plugin generates synthethic constructor which is not seen from light classes
KT-80429 Power Assert with "Run test using: IntelliJ": NoClassDefFoundError (org.jetbrains.kotlin.kotlinx.collections.immutable.ExtensionsKt) during compilation
KT-79319 Lombok: NullPointerException on mvn compile when importing Java constants
KT-81348 Incorrect bytecode mentioning error class/package is generated by kotlinx-serialization when private serializer in another module is not accessible
KT-80944 FirUserTypeRefImpl cannot be cast to class FirResolvedTypeRef in maven project
KT-80815 NoArg compiler plugin: Promote NO_NOARG_CONSTRUCTOR_IN_SUPERCLASS diagnostic from warning to error
KT-80822 False positive NO_NOARG_CONSTRUCTOR_IN_SUPERCLASS reported for a class with explicit noargs constructor already present
KT-53122 Constructors generated with NoArg have no @Metadata and are invisible for the frontend
KT-74687 Kotlin Lombok: False positive when calling builder on Java record
KT-80419 Remove bundled jetbrains annotations from kotlin-dataframe-compiler-plugin
KT-79245 [AtomicFU] Drop K1/JS- and K1/Native-specific testrunners
KT-79197 DataFrame: Cannot find local variable 'this@df' with type Scope0
KT-73865 Incorrect type is generated for irPropertyReference during K/N transformation
Tools. Compiler plugins. Serialization
KT-70345 Promote COMPANION_OBJECT_IS_SERIALIZABLE_INSIDE_SERIALIZABLE_CLASS diagnostic to error
KT-79695 Serialization does not exclude field-less properties in 2.2.20-Beta2
KT-79246 [Serialization] Drop K1-specific testrunners
Tools. Gradle
New Features
KT-78199 Gradle: Migrate JVM compilation in KGP to the new BTA
KT-45161 Gradle: Support registering generated sources with the Kotlin model
KT-64107 Kotlin Gradle plugin allows native binaries to have both debuggable and optimized flags set to true
KT-74910 Bump destinationDir in CInteropProcess to hidden
KT-74911 Promote CInteropProcess.konanVersion to hidden
KT-74864 Enable exporting KDocs by default to ObjC
KT-72705 K/N: compile task cache can not be used due to 'artifactVersion' input property
Tools. Gradle. Swift Export
KT-81465 Swift Export package is build with wrong target
KT-81460 [KGP] Crash in SwiftExportRunner due to older stdlib
KT-79524 NoSuchMethodError: 'java.lang.String org.gradle.api.artifacts.ProjectDependency.getPath() for swift export with dependency export fro gradle < 8.11
Tools. Incremental Compile
KT-75864 Implement a conservative mechanism of the IC with compiler plugins generated top-level declarations
KT-55982 K2: Consider global lookups from plugins in incremental compilation
KT-79504 Implement an API to provide IC lookups from backend plugins
KT-75657 Fix difference in incremental compilation scenarios in BTA in-process vs daemon compilation mode
KT-79541 Refactor tracking of files relation in IC
KT-74628 Incremental compilation runner does not check compiler exit code before mapping sources to classes