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

Update to Kotlin 2.0.20-Beta2 #3690

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Update to Kotlin 2.0.20-Beta2 #3690

merged 2 commits into from
Jul 12, 2024

Conversation

whyoleg
Copy link
Contributor

@whyoleg whyoleg commented Jul 11, 2024

No description provided.

@whyoleg whyoleg self-assigned this Jul 11, 2024
internal fun <T> KotlinLibrary.safeRead(defaultValue: T, action: KotlinLibrary.() -> T) = try {
action()
} catch (_: IOException) {
defaultValue
}
internal val KotlinLibrary.compatibilityInfo: KlibCompatibilityInfo
get() {
val hasPre14Manifest = safeRead(false) { has_pre_1_4_manifest }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

has_pre_1_4_manifest was dropped

@@ -16,31 16,24 @@ import java.io.IOException
*/
internal sealed class KlibCompatibilityInfo(val isCompatible: Boolean) {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I will add a reference to this file to the top of the file.
But overall, we don't need AbstractKlibLibraryInfo, otherwise, the content is the same

@whyoleg whyoleg merged commit 3a0a602 into master Jul 12, 2024
11 of 14 checks passed
@whyoleg whyoleg deleted the kotlin-2.0.20-Beta2 branch July 12, 2024 09:37
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.

None yet

2 participants