For visibility, it seems like there are issues with the new IR backend and incremental compilation. Someone filed a ticket in my project, but it’s actually the compiler that’s crashing. I can reproduce the bug.
https://youtrack.jetbrains.com/issue/KT-44925