Hi all! Just for my sanity - am I seeing ghosts / ...
# announcements
d
Hi all! Just for my sanity - am I seeing ghosts / am I doing something stupid or is this a real bug? https://youtrack.jetbrains.com/issue/KT-46947
r
I remember seeing someone complaining about smth similar. It had to do with how exactly the JVM was initializing the values underneath, eg at time of initialization of
ALL
the
FOO
wasn't initialized yet (and therefore the resulting list has
null
) Likely it's something similar, but I'm not exactly sure
e
yes, this is due to JVM initialization.
d
Oh wow, I was trying to avoid Kotlin-reflect to get subclasses of my sealed type and thought "Hey, this should be simple enough" - famous last words 😊. Thanks for the clarification!