To anyone, I'm not sure if this is a bug in kotlin...
# announcements
j
To anyone, I'm not sure if this is a bug in kotlin or if I'm missing something here
a
Its not a bug, its the order of initializiation: https://kotlinlang.org/docs/reference/classes.html#derived-class-initialization-order especially this sentence
It means that, by the time of the base class constructor execution, the properties declared or overridden in the derived class are not yet initialized