hey folks does anyone saw this kind of error? I'm ...
# kotlin-native
i
hey folks does anyone saw this kind of error? I'm getting this during building iOS framework. The error doesn't really tell much what causing it. Looking into https://github.com/JetBrains/kotlin-native/blob/7c3329e3e0c06be1e37fd4435bca7d39d88dfc8d/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/llvm/IrToBitcode.kt#L231 it's all stubs
Copy code
e: Compilation failed: org.jetbrains.kotlin.ir.declarations.impl.IrValueParameterImpl@65fe2bcd

 * Source files: 
 * Compiler version info: Konan: 1.4.10 / Kotlin: 1.4.10
 * Output kind: FRAMEWORK

e: java.lang.UnsupportedOperationException: org.jetbrains.kotlin.ir.declarations.impl.IrValueParameterImpl@65fe2bcd
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$TopLevelCodeContext.unsupported(IrToBitcode.kt:239)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$TopLevelCodeContext.genGetValue(IrToBitcode.kt:255)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$TopLevelCodeContext.genGetValue(IrToBitcode.kt:238)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$InnerScope.genGetValue(IrToBitcode.kt)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$InnerScope.genGetValue(IrToBitcode.kt)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$InnerScope.genGetValue(IrToBitcode.kt)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$InnerScope.genGetValue(IrToBitcode.kt)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$InnerScope.genGetValue(IrToBitcode.kt)
        at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$ParameterScope.genGetValue(IrToBitcode.kt:621)
also doesn't even indicate the location of the issue
upgrading to latest Kotlin 1.4.21 didn't help
ah, again stepping into the same issue....so annoying https://github.com/Kotlin/kotlinx.serialization/issues/848