WasmJS compilation throws this error. Has anyone seen this ?
Copy code
> Task :web:compileProductionExecutableKotlinWasmJsOptimize FAILED
Fatal: Internal GlobalTypeRewriter build error: Heap type has an invalid supertype at index 9
* What went wrong:
Execution failed for task ':web:compileProductionExecutableKotlinWasmJsOptimize'.
> Process 'command '.../.gradle/binaryen/binaryen-version_119/bin/wasm-opt'' finished with non-zero exit value 1