not sure where to put this, please redirect me, bu...
# announcements
h
not sure where to put this, please redirect me, but I think i discovered a compiler bug.
Adding a !! to the not null fixes it.
m
I believe it's caused by different inference engines between current IDEA and compiler. If you have the time, could you create a YT issue?
k
Specifically, read the section "Working on a New Type Inference Algorithm" here https://blog.jetbrains.com/kotlin/2019/06/kotlin-1-3-40-released/
h
@karelpeeters There is a chance this issue isn't related to it. I actually discovered this bug in december, and i completely forgot to report it. i was cleaning up the code and just discovered it again