Skip to content

Kotlin: clamp -language-version to 1.9#21545

Draft
redsun82 wants to merge 1 commit intomainfrom
redsun82/kotlin-language-version-min-1.9
Draft

Kotlin: clamp -language-version to 1.9#21545
redsun82 wants to merge 1 commit intomainfrom
redsun82/kotlin-language-version-min-1.9

Conversation

@redsun82
Copy link
Contributor

This is an experiment to see if compiling the 1.8 kotlin extractor with -language-version=1.9 will cause problems. It it works, it will allow us to use a 2.3.x toolchain (which doesn't support 1.8 any more).

This is an experiment to see if compiling the 1.8 kotlin extractor with
`-language-version=1.9` will cause problems. It it works, it will allow
us to use a 2.3.x toolchain (which doesn't support 1.8 any more).
Copilot AI review requested due to automatic review settings March 23, 2026 11:17
@redsun82 redsun82 requested a review from a team as a code owner March 23, 2026 11:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts the Kotlin extractor build configuration so that when building the “1.8.x” extractor variant with newer Kotlin toolchains, the -language-version passed to kotlinc does not request an unsupported language version.

Changes:

  • Clamp get_language_version() so Kotlin 1.8.x maps to language version 1.9 instead of 1.8.

@redsun82 redsun82 marked this pull request as draft March 23, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants