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

Fix warnings #761

Merged
merged 4 commits into from
Nov 1, 2023
Merged

Fix warnings #761

merged 4 commits into from
Nov 1, 2023

Conversation

arkivanov
Copy link
Contributor

Fixes #759

@@ -5,7 +5,7 @@ import com.badoo.reaktive.utils.InternalReaktiveApi
@InternalReaktiveApi
actual class AtomicReference<T> actual constructor(initialValue: T) {

private val delegate = kotlin.native.concurrent.AtomicReference(initialValue)
private val delegate = kotlin.concurrent.AtomicReference(initialValue)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we still need our implementation of AtomicReference if Kotlin's one is multiplatform now?
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.concurrent/-atomic-reference/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems they are still available only on Native.

@CherryPerry CherryPerry merged commit 630aade into badoo:master Nov 1, 2023
2 checks passed
@arkivanov arkivanov deleted the fix-warnings branch November 1, 2023 13:36
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.

Warnings related to Kotlin 1.9
2 participants