romainguy
07/27/2020, 4:18 PMHorv
07/27/2020, 4:23 PMe: java.lang.AssertionError: Assertion failed
at org.jetbrains.kotlin.psi2ir.Psi2IrTranslator.generateModuleFragment(Psi2IrTranslator.kt:95)
// A lot more stacktrace here
and the build fails with internal compiler error. So I was thinking it would be interesting to know what assertion is on Psi2IrTranslator.kt:95
but it's hard to know without having access to the source code.
For the RC build for Kotlin 1.4 there is an assertion with an error message on the line after: https://github.com/JetBrains/kotlin/blob/v1.4.0-rc/compiler/ir/ir.psi2ir/src/org/jetbrains/kotlin/psi2ir/Psi2IrTranslator.kt#L96
The master branch however have the assertion commented out: https://github.com/JetBrains/kotlin/blob/b47946cbba0272e7589564600e133db358c2c6e1/compiler/ir/ir.psi2ir/src/org/jetbrains/kotlin/psi2ir/Psi2IrTranslator.kt#L96
So I'm curious how the version I'm using looks like.romainguy
07/27/2020, 4:24 PMHorv
07/27/2020, 4:25 PMjim
07/27/2020, 4:34 PMHorv
07/27/2020, 4:52 PM