Has anyone seen the error above before?
# kotest
p
Has anyone seen the error above before?
s
"Internal compiler error" shouldn't ever happen. If you can reproduce it I would report it via kotl.in/issue
p
Well maybe the kotest gradle plugin is doing something "fancy"?
I can build all other gradle sub-projects ... only the jsTest stuff is broken...
Ok here is the deal: I have an external dependency (kotest-js) that brings in
kotlinx-coroutines-core.1.6.1
And my lib pulls
kotlinx-coroutines-core.1.6.0
Somehow the compiler does not remove the smaller version from the
icCacheMap
which some steps later results in the NPE.
After updating my dep to
kotlinx-coroutines-core.1.6.1
the errors is gone.
So in short: It is a problem in the dependency resolution in the kotlin compiler