Animesh Sahu
12/20/2020, 1:30 PMCompilation 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:
@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
).Animesh Sahu
12/20/2020, 3:24 PM