From 785f04dc5b5e04f1e9404a3b2027fa5bd4bf9e03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Aug 2026 19:07:09 +0000 Subject: [PATCH 1/2] build(deps): bump the kotlin group across 1 directory with 3 updates Bumps the kotlin group with 3 updates in the /packages/kotlin/src directory: [org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines), [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) and [org.jetbrains.kotlin.android](https://github.com/JetBrains/kotlin). Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.10.2 to 1.11.0 - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.10.2...1.11.0) Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.10.2 to 1.11.0 - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.10.2...1.11.0) Updates `org.jetbrains.kotlinx:kotlinx-coroutines-test` from 1.10.2 to 1.11.0 - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.10.2...1.11.0) Updates `org.jetbrains.kotlin.android` from 2.2.20 to 2.4.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v2.2.20...v2.4.10) --- updated-dependencies: - dependency-name: org.jetbrains.kotlin.android dependency-version: 2.4.10 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kotlin - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kotlin - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kotlin - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: kotlin ... Signed-off-by: dependabot[bot] --- packages/kotlin/src/gradle/libs.versions.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kotlin/src/gradle/libs.versions.toml b/packages/kotlin/src/gradle/libs.versions.toml index 66f797122..eff2602e5 100644 --- a/packages/kotlin/src/gradle/libs.versions.toml +++ b/packages/kotlin/src/gradle/libs.versions.toml @@ -1,8 +1,8 @@ [versions] agp = "8.12.3" -kotlin = "2.2.20" +kotlin = "2.4.10" -kotlinx-coroutines = "1.10.2" +kotlinx-coroutines = "1.11.0" dokka = "2.0.0" espressoCore = "3.7.0" From aec4252d4a7986df1f86ba4ee42e969b02315689 Mon Sep 17 00:00:00 2001 From: Danielku15 Date: Sat, 1 Aug 2026 21:17:35 +0200 Subject: [PATCH 2/2] fix: resolve lint and Kotlin compile errors from dependency bumps --- .../src/android/src/main/java/alphaTab/core/TypeHelper.kt | 2 +- packages/transpiler/src/kotlin/KotlinAstPrinter.ts | 5 +++-- packages/vite/src/bridge/bundler.ts | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/kotlin/src/android/src/main/java/alphaTab/core/TypeHelper.kt b/packages/kotlin/src/android/src/main/java/alphaTab/core/TypeHelper.kt index aa6152a2c..468d88e37 100644 --- a/packages/kotlin/src/android/src/main/java/alphaTab/core/TypeHelper.kt +++ b/packages/kotlin/src/android/src/main/java/alphaTab/core/TypeHelper.kt @@ -164,7 +164,7 @@ internal class TypeHelper { } else -> { - throw _root_ide_package_.kotlin.ClassCastException( + throw ClassCastException( "Cannot cast ${v.javaClass.name} to number" ) } diff --git a/packages/transpiler/src/kotlin/KotlinAstPrinter.ts b/packages/transpiler/src/kotlin/KotlinAstPrinter.ts index d85d43e0d..916ebc914 100644 --- a/packages/transpiler/src/kotlin/KotlinAstPrinter.ts +++ b/packages/transpiler/src/kotlin/KotlinAstPrinter.ts @@ -1993,9 +1993,10 @@ export default class KotlinAstPrinter extends AstPrinterBase { protected override writeSpreadExpression(expr: cs.SpreadExpression) { this.write('*'); this.writeExpression(expr.expression); + const valueDeclaration = expr.expression.tsSymbol?.valueDeclaration; if ( - expr.expression.tsSymbol?.valueDeclaration?.kind !== ts.SyntaxKind.Parameter || - (expr.expression.tsSymbol?.valueDeclaration as ts.ParameterDeclaration).dotDotDotToken === undefined + valueDeclaration?.kind !== ts.SyntaxKind.Parameter || + (valueDeclaration as ts.ParameterDeclaration).dotDotDotToken === undefined ) { this.write('.spread()'); } diff --git a/packages/vite/src/bridge/bundler.ts b/packages/vite/src/bridge/bundler.ts index 3b20def7e..eccd151a2 100644 --- a/packages/vite/src/bridge/bundler.ts +++ b/packages/vite/src/bridge/bundler.ts @@ -7,7 +7,7 @@ import type { ResolvedConfig } from './config'; /** * @internal */ -export const enum BundlerKind { +export enum BundlerKind { Rollup = 'rollup', Rolldown = 'rolldown' }