With Kotlin 2.0.20, 2.1.0, 2.1.20-beta1 I'm gettin...
# compiler
d
With Kotlin 2.0.20, 2.1.0, 2.1.20-beta1 I'm getting compiler crashes that all share the same symptom:
Caused by: java.lang.IllegalStateException: Type org.jetbrains.kotlin.ir.types.impl.IrErrorTypeImpl@72341610 has no arguments
... it happens at multiple places where I invoke some fairly (reified) generic helpers with closures etc. Not really sure how to troubleshoot. I tried breaking it out to a standalone project that can be shared, but even if it looks same, with same dependencies and all, it just works, so I guess it requires more intricate preconditions to get into the breakage. Any suggestions on how to troubleshoot this so that I can file a proper bug? Gut feels? Late christmas miracles?
y
Might be incremental compilation somehow? Idrk, but try cleaning the build and
.kotlin
directories and see what happens?
d
The full stacktrace would be helpful
d
yep, that's what I was going for with my standalone minimal test case. 😕
I'll have a look at building in docker for a fully pristine environment.