I just got an NPE on non-null types at runtime bec...
# announcements
j
I just got an NPE on non-null types at runtime because in my init {} I called a function which accessed the non-null value before the value was initialized later down in the init {}. Is this expected behavior with the compiler, or a compiler bug? IIRC, in Swift, you cannot call a function on this (or do much with this at all) until all member fields are initialized