https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
r

ribesg

10/04/2023, 12:27 PM
I'm trying to update my Kotlin iOS app from 1.8.22 to 1.9.10 and the linking fails. What do you do with that? Is there a parameter I can add to know what code causes the issue?
Copy code
java.lang.ClassCastException: class org.jetbrains.kotlin.ir.expressions.impl.IrBlockImpl cannot be cast to class org.jetbrains.kotlin.ir.expressions.IrConstructorCall (org.jetbrains.kotlin.ir.expressions.impl.IrBlockImpl and org.jetbrains.kotlin.ir.expressions.IrConstructorCall are in unnamed module of loader java.net.URLClassLoader @206f0650)
Same issue with Kotlin 1.9.20-Beta2