https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Ramadan Al.

12/15/2019, 2:47 PM
Hey guys, stuck at this issue for a day. Any solution?
Task sharedlinkSharedDebugFrameworkIos
e: Compilation failed: Expected 'BaseContinuationImpl.invokeSuspend' but was 'org.jetbrains.kotlin.ir.declarations.impl.IrFunctionImpl@1f36969b' * Source files: * Compiler version info: Konan: 1.3.61 / Kotlin: 1.3.60 * Output kind: FRAMEWORK e: java.lang.AssertionError: Expected 'BaseContinuationImpl.invokeSuspend' but was 'org.jetbrains.kotlin.ir.declarations.impl.IrFunctionImpl@1f36969b' at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor.getContinuation(IrToBitcode.kt:1936) at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor.evaluateFunctionCall(IrToBitcode.kt:2055) at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor.evaluateCall(IrToBitcode.kt:1795) at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor.evaluateExpression(IrToBitcode.kt:784) ...
k

kpgalligan

12/15/2019, 4:55 PM
Responded in the issue
👍 1
r

Ramadan Al.

12/15/2019, 5:07 PM
@kpgalligan thank you for your response, The code is pretty big. But i will try your suggestion and remove some of the latest changes i made and see if it work.
a

Artyom Degtyarev [JB]

01/13/2020, 12:25 PM
Hello @Ramadan Al. ! Any updates here?
r

Ramadan Al.

01/13/2020, 2:29 PM
The issue was in my case is the usage of a UseCase class that might have ktor response or exception.
I think you have to look in the code to find it.
a

Artyom Degtyarev [JB]

01/13/2020, 2:32 PM
Okay then, and you managed to deal with it? Can I close the GitHub issue as obsolete?
r

Ramadan Al.

01/13/2020, 2:33 PM
Yes
👍 1
5 Views