natario1
08/21/2022, 8:45 AMe: java.lang.UnsupportedOperationException: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:my.sample.ProblematicCallbackImpl
at org.jetbrains.kotlin.backend.konan.llvm.CodeGeneratorVisitor$TopLevelCodeContext.unsupported(IrToBitcode.kt:253)
I identified the offending code (irGet(thisClass.thisReceiver!!)
) but not a solution. I’m using the receiver to call a superclass function. I tried using superClass.thisReceiver!!
instead, but that creates a different error.Iaroslav Postovalov
08/21/2022, 8:03 PMthisReceiver
with getting a normal variable.natario1
08/21/2022, 9:06 PM