Robert Jaros
03/19/2025, 2:38 PMJsIterator.kt
from kotlin-wrappers
on WasmJs?Robert Jaros
03/19/2025, 2:38 PM> Task :examples:fullstack-javalin:compileDevelopmentExecutableKotlinWasmJs FAILED
e: org.jetbrains.kotlin.backend.common.CompilationException: Back-end: Please report this problem <https://kotl.in/issue>
/Users/leonidkhachaturov/code/kotlin-wrappers/kotlin-js/src/commonMain/kotlin/js/iterable/JsIterator.kt:-1:-1
Problem with `@JsFun(code = "(_this, p0) => _this.map(p0)")
external fun map_$external_fun(_this: JsIterator<T>, transform: Function1<T, R>?): JsIterator<R>
`
Details: Internal error in declaration transformer: java.lang.IllegalStateException: Unsupported JS interop type: {R of js.iterable.JsIterator.map & Any}
at org.jetbrains.kotlin.backend.wasm.lower.JsInteropFunctionsLowering.jsInteropNotNullTypeSignature(JsInteropFunctionsLowering.kt:730)
turansky
03/19/2025, 5:30 PMRobert Jaros
03/19/2025, 8:02 PMturansky
03/19/2025, 10:08 PMRobert Jaros
03/20/2025, 4:25 AM