-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Kotlin: Add Kotlin 2.2.20 support #20114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Ran "../tools/bazel mod tidy"
It has been removed in 2.2.20.
We'll need a proper fix for this, but this will keep things working in the meantime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for Kotlin version 2.2.20 to the CodeQL extractor, expanding the supported Kotlin version range from 2.2.0x to 2.2.2x.
- Adds Kotlin 2.2.20-Beta1 compiler and stdlib dependencies
- Updates version compatibility checks and documentation
- Implements version-specific utility functions for the new Kotlin version
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
java/ql/lib/change-notes/2025-07-23-kotlin-2.2.20.md | Documents the feature addition in change notes |
java/ql/integration-tests/kotlin/all-platforms/diagnostics/kotlin-version-too-new/diagnostics.expected | Updates maximum supported version in error message |
java/kotlin-extractor/versions.bzl | Adds 2.2.20-Beta1 to supported versions list |
java/kotlin-extractor/src/main/kotlin/utils/versions/v_2_2_20-Beta1/getJvmModuleNameForDeserializedDescriptor.kt | Implements version-specific utility function for 2.2.20 |
java/kotlin-extractor/src/main/kotlin/utils/versions/v_1_6_0/getJvmModuleNameForDeserializedDescriptor.kt | Adds corresponding utility function for version 1.6.0 |
java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt | Removes direct import, likely to use version-specific implementation |
java/kotlin-extractor/deps/*.jar | Adds Kotlin 2.2.20-Beta1 compiler and stdlib JAR files |
java/kotlin-extractor/BUILD.bazel | Adds compiler API deprecation warning suppression for 2.2.20+ |
docs/codeql/reusables/supported-versions-compilers.rst | Updates documentation to reflect new version support |
MODULE.bazel | Registers new Kotlin 2.2.20-Beta1 dependencies |
--- | ||
category: feature | ||
--- | ||
* Kotlin versions up to 2.2.2\ *x* are now supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backslash before the asterisk appears to be a formatting error. It should be '2.2.2x' without the backslash.
* Kotlin versions up to 2.2.2\ *x* are now supported. | |
* Kotlin versions up to 2.2.2*x* are now supported. |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
No description provided.