thevery
11/29/2018, 9:15 PMerror: compilation failed: org.jetbrains.kotlin.ir.declarations.lazy.IrLazyFunction@550c973e
* Source files: Sample.kt, SampleIos.kt
* Compiler version info: Konan: 1.0.2 / Kotlin: 1.3.0
* Output kind: LIBRARY
exception: java.lang.IllegalStateException: org.jetbrains.kotlin.ir.declarations.lazy.IrLazyFunction@550c973e
at org.jetbrains.kotlin.backend.konan.llvm.LlvmDeclarations.forFunction(LlvmDeclarations.kt:44)
should I file bug to #kotlin-native or to #serialization ?thevery
11/29/2018, 9:17 PM@Serializable
data class NotePatch(
val title: String? = null
) {
@Serializer(forClass = NotePatch::class)
companion object : KSerializer<NotePatch> {
override fun serialize(output: Encoder, obj: NotePatch) {
val elemOutput = output.beginStructure(descriptor)
elemOutput.endStructure(descriptor)
}
}
}
sandwwraith
11/29/2018, 10:25 PMthevery
11/29/2018, 11:02 PMthevery
11/30/2018, 8:17 AM