Skip to content
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

Do not use flag -Xexpect-actual-classes Kotlin compiler flag before 1.9.20 #512

Merged
merged 2 commits into from
May 20, 2024

Conversation

alexander-yevsyukov
Copy link
Contributor

This PR improves passing freeCompilerArgs in KotlinCompile.setFreeCompilerArgs() extension function. Previously, we always passed the flag, which resulted in "unsupported flag" warning emitted by Kotlin compilers before 1.9.20.
Now the flag is added depending on the current Kotlin version.

@alexander-yevsyukov alexander-yevsyukov self-assigned this May 20, 2024
@alexander-yevsyukov alexander-yevsyukov changed the title Do not use flag "-Xexpect-actual-classes" Kotlin compiler flag before 1.9.20 Do not use flag "-Xexpect-actual-classes" Kotlin compiler flag before 1.9.20 May 20, 2024
@alexander-yevsyukov alexander-yevsyukov changed the title Do not use flag "-Xexpect-actual-classes" Kotlin compiler flag before 1.9.20 Do not use flag -Xexpect-actual-classes Kotlin compiler flag before 1.9.20 May 20, 2024
@alexander-yevsyukov alexander-yevsyukov merged commit 6d9ed9c into master May 20, 2024
2 checks passed
@alexander-yevsyukov alexander-yevsyukov deleted the expect-actual-classes branch May 20, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants