Michal
06/12/2024, 8:43 PMIrLinkageError: Can not read value from variable 'tmp0_safe_receiver': Variable uses unlinked class symbol 'kotlinx.coroutines.internal/LinkedListHead|null[0]'
when trying to run wasmJs with Ktor client request in a coroutine. Here is a reproducer repo: https://github.com/MichalChomo/coroutine-wasm-ir-linkage-error-reproducer
Has anyone encountered this?Bruno Blazinc
06/14/2024, 10:39 AMKhubaib Khan
06/14/2024, 10:44 AM3.6.0-wasm-alpha2
& If you are using Voyager then also upgrade that to 1.1.0-beta02
. For Reference you can check my Repository: https://github.com/KhubaibKhan4/Youtube-Clone-KMPBruno Blazinc
06/14/2024, 10:51 AMval scope = rememberCoroutineScope()
val httpClient = HttpClient {}
scope.launch {
httpClient.get("<https://jsonplaceholder.typicode.com/todos/1>")
}
Khubaib Khan
06/14/2024, 10:54 AMBruno Blazinc
06/14/2024, 10:55 AMKhubaib Khan
06/14/2024, 11:00 AMBruno Blazinc
06/14/2024, 2:53 PM[versions]
jetbrains-kotlinx-bom = "1.9.0-RC"
[libraries]
jetbrains-kotlinx-bom = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-bom", version.ref = "jetbrains-kotlinx-bom" }
jetbrains-kotlinx-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core" }
Khubaib Khan
06/14/2024, 3:54 PMKhubaib Khan
06/14/2024, 4:00 PMMichal
06/30/2024, 9:38 AMMichal
06/30/2024, 9:38 AMjdiaz
07/04/2024, 9:15 PMMichal
07/22/2024, 3:43 PM3.0.0-beta-2
solves it for me.