Thomas
05/30/2024, 3:24 PMwasmJsBrowserRun
command. No errors, runs great. However, when I try to run a release version using wasmJsBrowserProductionRun
or wasmJsBrowserDistribution
I get the following error in the browser console, and just a white page:
Uncaught (in promise) CompileError: WebAssembly.instantiateStreaming(): Compiling function #33436 failed: type error in fallthru[0] (expected (ref null 23717), got (ref null 700)) @+15106059
I am using Kotlin 2.0.0. Is there anyway to debug this?Thomas
05/30/2024, 3:25 PMRobert Jaros
05/30/2024, 3:30 PMThomas
05/30/2024, 3:31 PMThomas
05/30/2024, 3:32 PMRobert Jaros
05/30/2024, 3:33 PMRobert Jaros
05/30/2024, 3:34 PMSvyatoslav Kuzmich [JB]
05/30/2024, 3:46 PMThomas
05/30/2024, 3:49 PMSvyatoslav Kuzmich [JB]
05/30/2024, 10:01 PMbuild/compileSync/wasmJs/main/productionExecutable/{kotlin,optimized}/*.wasm
Alternatively, if you would be willing to a bit of digging into compiled wasm code, I could provide some tips to localize the part of the code that is causing this problem, without sharing the binaries.