Arkadii Ivanov
09/12/2019, 4:50 PMexpect class AtomicReference<T>(value: T)
jvmMain: actual typealias AtomicReference<T> = java.util.concurrent.atomic.AtomicReference<T>
In Kotlin docs it's stated as possible. Is it so by design?Arkadii Ivanov
09/12/2019, 5:04 PMThe following declaration is incompatible because names of type parameters are different
public constructor AtomicReference<V : Any!>(p0: V!)
kpgalligan
09/12/2019, 5:06 PMArkadii Ivanov
09/12/2019, 5:06 PMtype
parameters!T
to V
in common and now it's finekpgalligan
09/12/2019, 5:10 PMArkadii Ivanov
09/12/2019, 5:12 PMT
not V
kpgalligan
09/12/2019, 5:12 PMArkadii Ivanov
09/12/2019, 5:12 PM