Hello guys. Not really sure where to post this, bu...
# announcements
r
Hello guys. Not really sure where to post this, but i feel like non-override
val person: Entity? = null
should throw a warning in IntelliJ. Or do you find any case where it's OK?
c
Sure, e.g. when value is set by something like Hibernate via reflection, but should not be set manually by user.
r
oh 😞
e
setting a val to null is probably a bug but doubtful the compiler can do much for you there.