Is this a bug: ```Compilation failed: Parameter sp...
# kotlin-native
a
Is this a bug:
Copy code
Compilation failed: Parameter specified as non-null is null: method kotlin.collections.CollectionsKt___CollectionsKt.joinToString, parameter $this$joinToString
I haven't used joinToString in my project though this error comes in when I define a global variable:
Copy code
@SharedImmutable
private val globalVar: AtomicRef<ObjectType?> = atomic(null)
blob thinking upside down Edit: Even with normal variable on top level scope this happens (also tested on
@ThreadLocal
).
Ohk, I've reproduced it, it was cuz of annotation. Reported: https://youtrack.jetbrains.com/issue/KT-44007