Darryl Miles
07/01/2024, 8:37 PMwasm validation error: at offset 43269: duplicate export
I have tried to use wasm2wat
on it from wabt
but that also reports error 000008f: error: expected valid result type (got -0xf)
Project is using Kotlin 1.9.24Svyatoslav Kuzmich [JB]
07/01/2024, 8:48 PMparse
print
command instead.Darryl Miles
07/01/2024, 8:49 PMDarryl Miles
07/01/2024, 8:53 PM@OptIn(ExperimentalJsExport::class)
@JsExport
fun myFunction(event: Event, ele: HTMLElement) {
// this works
}
///// then I changed to
@OptIn(ExperimentalJsExport::class)
@JsExport
fun myFunction(event: Event, ele: HTMLElement? = null) {
// this is a problem
// I think the default param must create an extra non-unique symbol
}
Svyatoslav Kuzmich [JB]
07/01/2024, 8:57 PMDarryl Miles
07/01/2024, 8:58 PMSvyatoslav Kuzmich [JB]
07/01/2024, 9:01 PMSvyatoslav Kuzmich [JB]
07/01/2024, 9:06 PM