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-58834 Analysis API: Add source shadowing feature to resolve extensions
Performance Improvements
KT-57515 LL FIR: Performance bottleneck in CompositeModificationTracker.getModificationCount
KT-59266 K2: optimize FirElementBuilder.getOrBuildFir for elements outside body
KT-59454 K2: drop resolve from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarations
KT-59453 K2: completion regression from org.jetbrains.kotlin.analysis.api.fir.components.KtFirVisibilityChecker#collectContainingDeclarations
KT-59189 Analysis API: KtFirKDocReference.resolveToSymbols is slow
KT-58125 K2: LL FIR: KtToFirMapping.getElement is slow for KtUserTypes due to on-air resolution of types
Fixes
KT-59240 K2: FirLazyResolveContractViolationException: lazyResolveToPhase(IMPORTS) cannot be called from a transformer with a phase IMPORTS from superTypes
KT-58499 K2: FirLazyBlock should be calculated before accessing
KT-57966 K2: Analysis API: Reference Shortener does not work correctly when called on entire file
KT-60954 K2: Analysis API: Reference shortener does not work correctly with variable assignments
KT-57743 K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependencies
KT-61026 K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolve
KT-61009 K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource
KT-60357 K2 IDE. Reified types parameters are not resolved in a function body
KT-60317 K2 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-60706 K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-common
KT-60552 K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformer
KT-60641 Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missing
KT-60638 K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource
KT-54846 Analysis API: add isExpect/isActual to KtSymbol
KT-60448 FirLazyResolveContractViolationException: lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS) cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen plugin
KT-59342 K2 IDE. FirLazyResolveContractViolationException: lazyResolveToPhase(TYPES) cannot be called from a transformer with a phase TYPES
KT-59687 K2: Implement proper body update for in-block modifications
KT-60132 K2: properties and functions without a name should be re-analyzable as well
KT-59199 K2 IDE: PSI changes which do not cause OOB modifications can be unseen from the FIR elements
KT-59667 Analysis API: PsiInvalidElementAccessException from JavaClassifierTypeImpl.substitutor
KT-59705 KotlinExceptionWithAttachments: No fir element was found for getter
KT-59697 AA standalone: JRT module paths are not properly populated in Windows
KT-59505 K2: implicit type lazy resolution doesn't work for delegated declaration from other module
KT-56426 K2 IDE: Typealised functional types cannot be rendered
KT-59598 AA: stackoverflow while simplifying a type with a recursive type parameter
KT-58497 K2: Expected FirResolvedTypeRef for initializer type of FirPropertyImpl(Source) but FirImplicitTypeRefImplWithoutSource found
KT-59511 AA standalone mode creates Application Environment for tests
KT-58161 Analysis API: Make methods in KtCallResolverMixIn more distinctive based on their receiver/return type
KT-59093 Do not throw exception on KtCall resolution, KtCallElement.resolveCall should return null on unknown cases
KT-59243 K2: FirLazyResolveContractViolationException: lazyResolveToPhase(IMPORTS) cannot be called from a transformer with a phase IMPORTS from permits types
KT-58194 K2: Low Level API: use smart pointers to store references to PSI from FIR declarations for JavaElement
KT-59133 K2: java.lang.IllegalStateException: Fir is not initialized for FirRegularClassSymbol
KT-58174 K2: LL FIR: Invalid type reference for T & Any type
KT-62127 "NoSuchFieldError: TRUE$delegate" on referencing companion's variable in submodule
KT-62335 Improve debuggability of code generator crashes
KT-62263 Turn "different expect/actual members" error into a warning
KT-61933 K2: "Argument type mismatch: actual type is 'Foo<kotlin/Function0<kotlin/Unit>>' but 'Foo<kotlin/coroutines/SuspendFunction0<kotlin/Unit>>' was expected"
IDE. Multiplatform
KT-61686 Check and update places in compiler and IDE where we are saying that MPP is experimental/Beta/Alpha
Native
KT-62532 Support Xcode 15.0 frameworks as Kotlin/Native platform libraries
Native. Runtime. Memory
KT-61914 Kotlin/Native: massive increase in memory usage
KT-61741 Kotlin/Native: tsan error in parallel mark
Tools. Gradle
KT-62318 Android Studio sync memory leak in 1.9.20-Beta
KT-61368 Native compiler option 'module-name' isn't available within the compilerOptions extension for native target while configuring it inside compilations
KT-61355 freeCompilerArgs arguments and its values are passed to the compiler 5 times if added through target-level compilerOptions{} extension inside compilations
Tools. Gradle. Multiplatform
KT-62029 Kotlin 1.9.20-Beta fails to detect some transitive dependency references in JVM+Android source set
Tools. Incremental Compile
KT-61852 Kotlin 1.9.20-Beta: incremental compilation fails with files outside of the project folder
KT-62027 "java.lang.IndexOutOfBoundsException: Empty list doesn't contain element at index 0" caused by ClassicExpectActualMatchingContext.kt when annotation @AllowDifferentMembersInActual used
KT-61668 Put expect/actual diagnostics introduced in 1.9.20 release under 1.9 Language Version
KT-61645 K2/KMP: Set stdlib-native before stdlib-commonMain in dependencies for shared native metadata compilation
KT-61924 Native: problem with abstract fake override from Any
KT-61725 KMP: Annotation matching requirement for expect/actual leads to errors for annotations with @OptionalExpectation
KT-61784 KMP: [DEFAULT_ARGUMENTS_IN_EXPECT_WITH_ACTUAL_TYPEALIAS] checker missed for companion functions
KT-61167 Runtime failure: ReferenceError: MyPromise is not defined
KT-61026 K2 Scripts: FirLazyExpression should be calculated before accessing from on-air resolve
KT-61009 K2 Scripts: KtFirExpressionTypeProvider: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource
KT-60357 K2 IDE. Reified types parameters are not resolved in a function body
KT-60954 K2: Analysis API: Reference shortener does not work correctly with variable assignments
KT-60317 K2 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-60728 K2: proper support for scripts in LL FIR transformers
KT-60706 K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-common
KT-57743 K2 IDE: StackOverflowError from LLFirSessionCache for simple JPS project with cyclic dependencies
KT-60552 K2: merge StateKeeper and lazy body calculator for ANNOTATIONS_ARGUMENTS_MAPPING transformer
KT-60641 Analysis API: Scope for class org.jetbrains.kotlin.fir.types.impl.ConeClassLikeTypeImpl not found exception when stdlib is missing
KT-60638 K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImplWithoutSource
KT-54846 Analysis API: add isExpect/isActual to KtSymbol
KT-59077 KtFirExpressionTypeProvider behaviour for KtSimpleNameReferences in function calls
KT-60448 FirLazyResolveContractViolationException: lazyResolveToPhase(COMPILER_REQUIRED_ANNOTATIONS) cannot be called from a transformer with a phase COMPILER_REQUIRED_ANNOTATIONS from AllOpen plugin
KT-59342 K2 IDE. FirLazyResolveContractViolationException: lazyResolveToPhase(TYPES) cannot be called from a transformer with a phase TYPES
KT-59687 K2: Implement proper body update for in-block modifications
KT-60488 Analysis API: forbid providing custom KtLifetimeToken for every analyze call
KT-59159 K2 IDE: declaration is not found exception
KT-59297 K2: exception from body resolve leads to corrupted state and broken analysis
KT-60132 K2: properties and functions without a name should be re-analyzable as well
KT-59199 K2 IDE: PSI changes which do not cause OOB modifications can be unseen from the FIR elements
KT-59667 Analysis API: PsiInvalidElementAccessException from JavaClassifierTypeImpl.substitutor
KT-59705 KotlinExceptionWithAttachments: No fir element was found for getter
KT-59697 AA standalone: JRT module paths are not properly populated in Windows
KT-59505 K2: implicit type lazy resolution doesn't work for delegated declaration from other module
KT-56426 K2 IDE: Typealised functional types cannot be rendered
KT-59598 AA: stackoverflow while simplifying a type with a recursive type parameter
KT-58497 K2: Expected FirResolvedTypeRef for initializer type of FirPropertyImpl(Source) but FirImplicitTypeRefImplWithoutSource found
KT-59511 AA standalone mode creates Application Environment for tests
KT-58161 Analysis API: Make methods in KtCallResolverMixIn more distinctive based on their receiver/return type
KT-59093 Do not throw exception on KtCall resolution, KtCallElement.resolveCall should return null on unknown cases
KT-59240 K2: FirLazyResolveContractViolationException: lazyResolveToPhase(IMPORTS) cannot be called from a transformer with a phase IMPORTS from superTypes
KT-59243 K2: FirLazyResolveContractViolationException: lazyResolveToPhase(IMPORTS) cannot be called from a transformer with a phase IMPORTS from permits types
KT-58194 K2: Low Level API: use smart pointers to store references to PSI from FIR declarations for JavaElement
KT-59133 K2: java.lang.IllegalStateException: Fir is not initialized for FirRegularClassSymbol
KT-58174 K2: LL FIR: Invalid type reference for T & Any type
KT-57930 Analysis API: provide an API for extending Kotlin resolution
KT-57636 K2: Add the return type of K2 reference shortener AA ShortenCommand::invokeShortening() e.g., ShorteningResultInfo to allow callers to access the shortening result PSI
Fixes
KT-58249 Analysis API: Disable error logging for FE10 implementation of resolveCall when resolve is not successful
KT-55626 Impossible to restore symbol by psi from script file
KT-57314 LL FIR: Combine LLFirProvider$SymbolProviders in session dependencies (optimization)
KT-55527 K2 IDE: Rewrite KtScopeContext class to allow to handle each scope separately
KT-55329 LL FIR: Unexpected ACTUAL_WITHOUT_EXPECT error on constructor and function declaration
KT-50253 Analysis API: Solve issues with ProcessCancelledException
KT-56800 K2 IDE: optimize deprecation calculation for symbols
KT-55006 Analysis API does not transform Java type refs for callable symbol return types
KT-57256 AA FIR: Reduce lazy resolve phase for deprecation status
KT-57619 K2: CFG for class initializer is not correctly built in reversed resolve mode
KT-58141 K2: AA FIR: impossible to restore symbol for declaration with annotation with argument inside type
KT-57462 Symbol Light Classes: SymbolLightFieldForProperty should retrieve annotations not from KtPropertySymbol, but from the corresponding backing field
KT-54864 Analysis API: add function to get expect KtSymbol list by actual KtSymbol
KT-56763 Analysis API: .KtSourceModuleImpl is missing in the map. on symbol restore when symbol cannot be seen from the use-site module
KT-55740 Gradle 8: Listener registration using Gradle.addBuildListener() has been deprecated
KT-58251 Build Statistics. Kotlin-specific tags are missing in build scans if projects use Gradle 8+
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-58869 K2, Gradle: Improve message "100% (2/2) tasks have compiled with Kotlin 2"
Tools. Gradle. JS
KT-59116 K/JS npm dependcies are not resolved properly on Kotlin 1.9
KT-58970 browserTest gradle task fails if karma is used and gradle configuration cache is enabled
KT-59004 Kotlin JS 1.9.0-Beta, yarn.lock is unstable in multi module project
Tools. Gradle. Multiplatform
KT-57903 Prepare for migration to the pluggable android target plugin
KT-57930 Analysis API: provide an API for extending Kotlin resolution
KT-57636 K2: Add the return type of K2 reference shortener AA ShortenCommand::invokeShortening() e.g., ShorteningResultInfo to allow callers to access the shortening result PSI
Fixes
KT-55626 Impossible to restore symbol by psi from script file
KT-57314 LL FIR: Combine LLFirProvider$SymbolProviders in session dependencies (optimization)
KT-55527 K2 IDE: Rewrite KtScopeContext class to allow to handle each scope separately
KT-55329 LL FIR: Unexpected ACTUAL_WITHOUT_EXPECT error on constructor and function declaration
KT-50253 Analysis API: Solve issues with ProcessCancelledException
KT-56800 K2 IDE: optimize deprecation calculation for symbols
KT-55006 Analysis API does not transform Java type refs for callable symbol return types
KT-57256 AA FIR: Reduce lazy resolve phase for deprecation status
KT-58141 K2: AA FIR: impossible to restore symbol for declaration with annotation with argument inside type
KT-57462 Symbol Light Classes: SymbolLightFieldForProperty should retrieve annotations not from KtPropertySymbol, but from the corresponding backing field
KT-58249 Analysis API: Disable error logging for FE10 implementation of resolveCall when resolve is not successful
KT-54864 Analysis API: add function to get expect KtSymbol list by actual KtSymbol
KT-56763 Analysis API: .KtSourceModuleImpl is missing in the map. on symbol restore when symbol cannot be seen from the use-site module
KT-38871 Kotlin Gradle DSL, MPP: UNUSED_VARIABLE when configuring a sourceset with delegated property
KT-58587 MUST_BE_INITIALIZED must take into account effectivelly final
KT-58524 K2: 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-53929 Enum.entries: consider changing scope behavior in K1
KT-58520 K2: FIR2IR: ISE during const evaluation of operator times with exposed
KT-56662 K1: false negative INVISIBLE_SETTER for a var with internal setter accessed from a derived class
KT-57770 K2: Support generation of serializer if base class for serializable class declared in different module
KT-58375 Kapt: "wrong number of type arguments. required 1" when more than 22 type arguments