Skip to content

Support Kotlin 2.4.0 #21938

Description

@hfhbd

Description of the issue
Kotlin 2.4.0 was released on 2026-06-03: https://github.com/JetBrains/kotlin/releases/tag/v2.4.0.

Kotlin 2.4.0 does not support K1 and language level <1.9 anymore. The compiler api changed a lot.

IMHO CodeQL should use the (experimental) analysis api, the same api IntelliJ, dokka and detekt is using, because it is somehow more stable and CodeQL only reads the code. The current IR plugin is too low-level (and can change the code).

Error message: Kotlin version 2.4.0 is too recent. CodeQL currently supports versions below 2.3.30

PR: #21970

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions