Atomicfu-plugin (JVM IR): fix visibility of wrapper classes generated for static atomics.

Fixes https://github.com/Kotlin/kotlinx-atomicfu/issues/272
This commit is contained in:
mvicsokolova
2023-01-28 14:15:45 +01:00
committed by Space Team
parent 901ff06e90
commit bc612fa1c6
10 changed files with 116 additions and 97 deletions
@@ -3,7 +3,7 @@ import kotlin.test.*
import kotlin.random.*
object Provider {
val port = atomic(Random.nextInt(20, 90) * 100)
private val port = atomic(Random.nextInt(20, 90) * 100)
fun next(): Int = port.incrementAndGet()
private val _l = atomic(2424920024888888848)