Is this a known issue with `JsIterator.kt` from `k...
# javascript
r
Is this a known issue with
JsIterator.kt
from
kotlin-wrappers
on WasmJs?
Copy code
> 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)
t
No, please report it 🙂
r
Where? In kotlin-wrappers repo or in YT as suggested in the description?
t
Kotlin Wrappers for start
r