Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2025

Bumps kotlinBom from 2.2.0 to 2.2.20.
Updates org.jetbrains.kotlin:kotlin-bom from 2.2.0 to 2.2.20

Release notes

Sourced from org.jetbrains.kotlin:kotlin-bom's releases.

Kotlin 2.2.20

Changelog

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin:kotlin-bom's changelog.

2.2.20

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes

... (truncated)

Commits
  • 693c44e Add ChangeLog for 2.2.20-RC2
  • 5b7c7af [Gradle] Fail the build if AGP has already configured Kotlin in the project
  • 1756c32 Add permissions for GRADLE_RO_DEP_CACHE to security policy
  • 05dcf52 [Native Macos] update llvm with fixes for xcode26 ^KT-79571 fixed
  • 0b2dd95 [Wasm] Do not backport devServer, because it is mutable collection
  • 6b0a1e4 [IR] Use sanitized names when calculating scopes for lambdas
  • 64daa7e [FIR2IR] Properly handle generics with nullable types in delegate body genera...
  • 9237f28 [Test] Reproduce KT-79816
  • e86b28e [Gradle] Add @​ExperimentalKotlinGradlePluginApi to exportKdoc
  • 0f5c8a7 Add ChangeLog for 2.2.20-RC
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.plugin.compose from 2.2.0 to 2.2.20

Release notes

Sourced from org.jetbrains.kotlin.plugin.compose's releases.

Kotlin 2.2.20

Changelog

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.plugin.compose's changelog.

2.2.20

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes

... (truncated)

Commits
  • 693c44e Add ChangeLog for 2.2.20-RC2
  • 5b7c7af [Gradle] Fail the build if AGP has already configured Kotlin in the project
  • 1756c32 Add permissions for GRADLE_RO_DEP_CACHE to security policy
  • 05dcf52 [Native Macos] update llvm with fixes for xcode26 ^KT-79571 fixed
  • 0b2dd95 [Wasm] Do not backport devServer, because it is mutable collection
  • 6b0a1e4 [IR] Use sanitized names when calculating scopes for lambdas
  • 64daa7e [FIR2IR] Properly handle generics with nullable types in delegate body genera...
  • 9237f28 [Test] Reproduce KT-79816
  • e86b28e [Gradle] Add @​ExperimentalKotlinGradlePluginApi to exportKdoc
  • 0f5c8a7 Add ChangeLog for 2.2.20-RC
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.android from 2.2.0 to 2.2.20

Release notes

Sourced from org.jetbrains.kotlin.android's releases.

Kotlin 2.2.20

Changelog

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.android's changelog.

2.2.20

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes

... (truncated)

Commits
  • 693c44e Add ChangeLog for 2.2.20-RC2
  • 5b7c7af [Gradle] Fail the build if AGP has already configured Kotlin in the project
  • 1756c32 Add permissions for GRADLE_RO_DEP_CACHE to security policy
  • 05dcf52 [Native Macos] update llvm with fixes for xcode26 ^KT-79571 fixed
  • 0b2dd95 [Wasm] Do not backport devServer, because it is mutable collection
  • 6b0a1e4 [IR] Use sanitized names when calculating scopes for lambdas
  • 64daa7e [FIR2IR] Properly handle generics with nullable types in delegate body genera...
  • 9237f28 [Test] Reproduce KT-79816
  • e86b28e [Gradle] Add @​ExperimentalKotlinGradlePluginApi to exportKdoc
  • 0f5c8a7 Add ChangeLog for 2.2.20-RC
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.jvm from 2.2.0 to 2.2.20

Release notes

Sourced from org.jetbrains.kotlin.jvm's releases.

Kotlin 2.2.20

Changelog

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.jvm's changelog.

2.2.20

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin
  • KT-78065 Support "Expose boxed inline value classes" in Light Classes

... (truncated)

Commits
  • 693c44e Add ChangeLog for 2.2.20-RC2
  • 5b7c7af [Gradle] Fail the build if AGP has already configured Kotlin in the project
  • 1756c32 Add permissions for GRADLE_RO_DEP_CACHE to security policy
  • 05dcf52 [Native Macos] update llvm with fixes for xcode26 ^KT-79571 fixed
  • 0b2dd95 [Wasm] Do not backport devServer, because it is mutable collection
  • 6b0a1e4 [IR] Use sanitized names when calculating scopes for lambdas
  • 64daa7e [FIR2IR] Properly handle generics with nullable types in delegate body genera...
  • 9237f28 [Test] Reproduce KT-79816
  • e86b28e [Gradle] Add @​ExperimentalKotlinGradlePluginApi to exportKdoc
  • 0f5c8a7 Add ChangeLog for 2.2.20-RC
  • Additional commits viewable in compare view

Updates org.jetbrains.kotlin.multiplatform from 2.2.0 to 2.2.20

Release notes

Sourced from org.jetbrains.kotlin.multiplatform's releases.

Kotlin 2.2.20

Changelog

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a class with an empty body finds usages of class as well
  • KT-78878 K2. Method shown as unavailable in Java when @JvmExposeBoxed is applied (redundantly) at both class and method level in Kotlin

... (truncated)

Changelog

Sourced from org.jetbrains.kotlin.multiplatform's changelog.

2.2.20

Analysis API

  • KT-78187 Synthetic properties not to be shown as callables
  • KT-72525 K2. red code and KIWA on new-lines in guarded when conditions (with parentheses)
  • KT-74246 KaVisibilityChecker.isVisible is inefficient with multiple calls on the same use-site

Analysis API. Code Compilation

  • KT-78382 K2 IR lowering error when interface extends interface
  • KT-73201 K2 IDE: Error while evaluating expressions with local classes
  • KT-78164 Evaluator: '@JvmName' annotations are not recognized in other modules
  • KT-76457 K2 IDE / KMP Debugger: KISEWA “Cannot compile a common source without a JVM counterpart” on evaluating inline fun from common module inside jvm
  • KT-73084 K2 evaluator cannot resolve local variables standing at the closing brace

Analysis API. FIR

Performance Improvements

  • KT-76490 Do not load ast during the contracts phase if no contracts present
  • KT-78132 Do not check FirElementBuilder#tryGetFirWithoutBodyResolve optimization for already resolved declarations

Fixes

  • KT-72227 SOE from recursive value class
  • KT-68977 K2 IDE: Reference to companion object through typealias in a function call does not work
  • KT-72357 Implement partial body resolution
  • KT-76932 Support context parameters on dangling modifier list
  • KT-72407 FirImplementationByDelegationWithDifferentGenericSignatureChecker: FirLazyExpression should be calculated before accessing
  • KT-77602 K2 / Analysis API: KAEWA “No fir element was found for KtParameter” on incorrect context()-call
  • KT-77629 K2: NPE: "org.jetbrains.kotlin.fir.java.declarations.FirJavaTypeParameter.performFirstRoundOfBoundsResolution"
  • KT-76855 Analysis API: KaType.asPsiType returns null for a local inner class in dependent analysis tests
  • KT-72718 ImplicitReceiverValue.createSnapshot creates invalid FIR if receiver is smart-casted
  • KT-76811 Analysis API: resolveToFirSymbol finds a FirPropertySymbol for a KtScript in dependent analysis
  • KT-73586 [Analysis API] Add lazyResolveToPhase(STATUS) before accessing modifiers of members
  • KT-71135 AA: exception from sealed inheritors checker when analyzeCopy
  • KT-75534 K2 AA: "Containing declaration should present for nested declaration class KtNamedFunction" with dangling annotation on top-level anonymous function
  • KT-75687 K2: local variable doesn't get to the do-while scope
  • KT-56543 LL FIR: rework lazy transformers so transformers modify only declarations they suppose to

Analysis API. Infrastructure

  • KT-76809 Analysis API: Dependent analysis tests frequently work with the original element instead of the copied element

Analysis API. Light Classes

  • KT-78835 Find usages of a light constructor from a cla...

    Description has been truncated


Bumps mokkery from 2.9.0 to 2.10.0.
Updates dev.mokkery from 2.9.0 to 2.10.0

Changelog

Changelog:

🚀 Features

  • Add possibility to call spied function from calls using callSpied or callSpiedWith
  • Add MokkeryBlockingCallScope.callSpied and MokkerySuspendCallScope.callSpied

♻️ Deprecations

  • Change deprecation level of FunctionScope API from warning to error. It will be removed in Mokkery 3.0.0.

🐛 Bug fixes

  • #98 Fix compatibility broken by Kotlin 2.2.20
  • #97 Fix crash when creating a mock of a class with abstract type parameters for Android instrumented test.
  • #106 Fix CallArgument constructor resolution by the compiler plugin
Commits
  • f26fa13 Update Mocking.mdx
  • 19df559 Set kotlin std dependencies to compileOnly to avoid compatibility issues
  • bf2a1f1 Reorder repositories in functional tests project
  • 88baa89 Bump jvmToolchain to 11 while keeping bytecode target 1.8
  • 9624edb Enable test logging for functionalTest
  • a1590cf Generate shorter names for mock class names
  • 5fc1156 Add callSpied to both MokkeryCallScope and CallDefinitionScope
  • beed24c Change deprecation level of FunctionScope API to error
  • 2ff710b Bump version to 2.10.0
  • dfe9d83 Add Android SDK to tests.yml
  • f443dcf Bump JVM toolchain to 17
  • 66820cc Fix mocking classes with constructors that accept parameters of abstract types
  • 8a0cf36 Merge pull request #103 from lupuuss/mokkery-android-dex
  • ebaa26a Bump Kotlin to 2.2.20-Beta2
  • 83bbdf1 Bump Kotlin to 2.2.20-RC
  • bef98bd Fix GenericArrayProviderTest.kt
  • 26d9e5e Update docs to Kotlin 2.2.20
  • 210cfbf Merge pull request #95 from HekmatullahAmin/patch-1
  • 1f1c14b Update Mocking.mdx
  • 9a8d4a8 Merge pull request #102 from lupuuss/kotlin-2.2.20
  • 9f44f2f Bump Kotlin to 2.2.20-RC2
  • c0baea2 Bump Kotlin to 2.2.20
  • 3502dc9 Change the way compiler plugin is resolving CallArgument constructor to potentially prevent #106
  • aa7860c Update README.md kotlin version
  • ee59cb7 Merge pull request #107 from lupuuss/release-2.10.0

Bumps kotlinKsp from 2.2.0-2.0.2 to 2.2.20-2.0.3
Updates com.google.devtools.ksp from 2.2.0-2.0.2 to 2.2.20-2.0.3

Changelog

What's Changed

  • Removed usages of deprecated KGP ApiVersion - #2400
  • Android integration for KSP has moved on to the new Variant API - #2250
  • Runtime warning was added for projects that opt out of KSP2 - #2538
  • AGP version against which KSP is compiled has been upgraded - #2552

Contributors

Thanks to everyone who reported bugs and participated in discussions!

Full Changelog: google/ksp@2.1.21-2.0.2...2.2.20-2.0.3

Commits
  • 5c073ba Update release branch to 2.0.2-release
  • dfd826b CI: Update DONT_PICK
  • ee5e063 Do not propagate annotations with use site targets
  • 1db41bc Introduce AnnotationUseSiteTarget.ALL
  • 1d95d44 UPDATE_KOTLIN_VERSION: 2.2.20-dev-1156
  • 7857ec5 UPDATE_AA_VERSION: 2.2.20-dev-1156
  • fcf4e3a UPDATE_KOTLIN_VERSION: 2.2.20-dev-2432
  • eab6edc UPDATE_AA_VERSION: 2.2.20-dev-2432
  • 895de3b Do not resolve configuration in configuration time
  • 9f868a8 KSP1: use new mangling scheme for inline classes
  • 164741b Fix getJvmName for accessors starting with is
  • 64e8689 Upgrade to Gradle 8.14
  • 5e86f67 Enable running lint in ksp gradle-plugin project
  • 4794e5c Switch to Lint with K2 UAST
  • 9fdc299 Fix up issues in KSP gradle plugin
  • c8338bd Clean up task registering in kts build scripts
  • 3d430b9 Upgrade to the latest stable Gradle shadow plugin
  • ad3e128 Add back accidentally commented out method
  • 4cdb9c1 Make built jars reproducible
  • 6f2d97d Split missing dependency validation into a real task
  • 641a289 Attempt to fix things
  • 5761387 Add kdocs to KspExtension to make it easier to use ksp {} DSL
  • abf8c3f Fix origin of arguments of synthetic annotations
  • 5c2464e Better naming of variables
  • 31cb967 Upgrade to the latest lint-gradle checks
  • 13e681b Small grammatical fix, otherwised -> otherwise
  • f50f597 Cleanup: remove CompilerConfiguration
  • b19a15e Support friend modules
  • e88e1ec Ignore .kotlin/
  • a00a7f8 Add clarification to possible value types of KSValueArgument.value
  • 4bad3ba Handle a weird case from Analysis API
  • b813eef Downgrade to Kotlin 2.1.21
  • 3b61b75 Update release branch to 2.0.3-release
  • 8e65be9 New gradle property: ksp.ksp2.profiling.mode
  • 86e6c7a KspGradleLogger: print location before messages
  • 11c7621 Publishing: Switch to Central Portal
  • de465a3 UPDATE_AA_VERSION: 2.2.20-dev-5774
  • 2aa9904 marking as internal processorOptions
  • 959f670 removing empty lines
  • 0025b63 Revert "Downgrade to Kotlin 2.1.21"
  • 310227c Downgrade to Kotlin 2.2.0
  • e4e1d3f Update readme with KSP1 deprecation notice
  • 188e43f Add runtime warning when using KSP1
  • 24e1255 Add a cache to save android variants during plugin application
  • 48f9665 Use static sources (all contains the output from ksp itself leading to a
  • 9de9608 Parse jdk version using Gradle utility
  • 7c6be6b Remove deprecated ApiVersion usage
  • 4b73d53 Remove version warning if KSP2 is used
  • ac0d155 update tests
  • 6e16693 Update AGP version
  • a3aab44 Add integration test for AGP with built in kotlin
  • 89ff16a Changes to the android cache
  • f33a262 evaluate the file collection lazily
  • 631f821 fix ktlint
  • 2d4e511 Register java/kotlin sources using new Variant API
  • d6ef8cf Call addGeneratedSourceDirectories behind AGP version runtime check
  • 2c40d93 Freshen up docs for latest ksp/kotlin versions
  • 0259021 Add resources and output classes using artifacts API
  • bb49785 Add integration test for AGP 9.0
  • 04ea5d2 [KSP1] Add ksp task dependency for resource output
  • 0bb9099 Make local KSP version based on KGP version
  • b0db79d Clean up old agp integration tests
  • 316005a Configurable logging + docs + contributing task name fix
  • 7729eaf Rename to jvm parameters
  • d7883e7 Do not manually wire ksp task for android target
  • 5a0035a Bump BUILD Kotlin and KSP to 2.2.10-2.0.2
  • c920aa5 Do not minimize embeddable jars
  • c9e170a UPDATE_AA_VERSION: 2.2.20-dev-7701
  • c968f23 UPDATE_AA_VERSION: 2.3.0-dev-704
  • c7b1dbb UPDATE_AA_VERSION: 2.3.0-dev-1330
  • 4b38d15 UPDATE_AA_VERSION: 2.3.0-dev-7225
  • 783f41f Update shadow-validate-baselin.txt
  • ce9849f UPDATE_KOTLIN_VERSION: 2.2.20

Bumps `kotlinBom` from 2.0.21 to 2.2.20.

Updates `org.jetbrains.kotlin:kotlin-bom` from 2.0.21 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.0.21...v2.2.20)

Updates `org.jetbrains.kotlin.plugin.compose` from 2.2.0 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.2.0...v2.2.20)

Updates `org.jetbrains.kotlin.android` from 2.2.0 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.2.0...v2.2.20)

Updates `org.jetbrains.kotlin.jvm` from 2.2.0 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.2.0...v2.2.20)

Updates `org.jetbrains.kotlin.multiplatform` from 2.2.0 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.2.0...v2.2.20)

Updates `org.jetbrains.kotlin.plugin.parcelize` from 2.2.0 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.2.0...v2.2.20)

Updates `org.jetbrains.kotlin.plugin.serialization` from 2.2.0 to 2.2.20
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.2.0...v2.2.20)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-bom
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin.plugin.compose
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.android
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.jvm
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.multiplatform
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.parcelize
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin.plugin.serialization
  dependency-version: 2.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added type: dependency Project dependencies type: gradle Gradle dependency updates labels Sep 15, 2025
@dependabot dependabot bot requested a review from a team as a code owner September 15, 2025 07:23
@dependabot dependabot bot requested a review from rafaeltonholo September 15, 2025 07:23
@dependabot dependabot bot added type: dependency Project dependencies type: gradle Gradle dependency updates labels Sep 15, 2025
@rafaeltonholo rafaeltonholo changed the title chore(deps): bump kotlinBom from 2.0.21 to 2.2.20 chore(deps): bump kotlinBom from 2.2.0 to 2.2.20 Sep 17, 2025
@rafaeltonholo rafaeltonholo changed the title chore(deps): bump kotlinBom from 2.2.0 to 2.2.20 chore(deps): bump kotlinBom from 2.2.0 to 2.2.20 and mokkery from 2.9.0 to 2.10.0 Sep 17, 2025
Bumps `mokkery` from 2.9.0 to 2.10.0

Updates `dev.mokkery` from 2.9.0 to 2.10.0
- [Release notes](https://github.com/lupuuss/Mokkery/releases)
- [Changelog](https://github.com/lupuuss/Mokkery/releases/tag/v2.10.0)
- [Commits](lupuuss/Mokkery@v2.9.0...v2.10.0)

---
updated-dependencies:
- dependency-name: dev.mokkery
  dependency-version: 2.10.0
...

Signed-off-by: Rafael Tonholo <[email protected]>
@rafaeltonholo rafaeltonholo changed the title chore(deps): bump kotlinBom from 2.2.0 to 2.2.20 and mokkery from 2.9.0 to 2.10.0 chore(deps): bump kotlinBom, mokkery and ksp versions Sep 17, 2025
Bumps `kotlinKsp` from 2.2.0-2.0.2 to 2.2.20-2.0.3

Updates `com.google.devtools.ksp` from 2.2.0-2.0.2 to 2.2.20-2.0.3
- [Release notes](https://github.com/google/ksp/releases)
- [Changelog](https://github.com/google/ksp/releases/tag/2.2.20-2.0.3)
- [Commits](google/ksp@2.2.20-2.0.2...2.2.20-2.0.3)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-version: 2.2.20-2.0.3
...

Signed-off-by: Rafael Tonholo <[email protected]>
Copy link
Member

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wmontwe wmontwe merged commit 7e7ecd0 into main Sep 17, 2025
19 checks passed
@wmontwe wmontwe deleted the dependabot/gradle/kotlinBom-2.2.20 branch September 17, 2025 14:02
@thunderbird-botmobile thunderbird-botmobile bot added this to the Thunderbird 14 milestone Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependency Project dependencies type: gradle Gradle dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants