You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found how to reproduce one of the problems I found later on in our discussion over #955. TeaVM is able to compile it without crashing, the error happens when I attempt to load the compiled WASM binary in Chrome by typing WebAssembly.compileStreaming(fetch("classes.wasm")); into the devtools console.
It produces a WASM binary that creates the following error when I attempt to load it in Chrome:
Uncaught (in promise) CompileError: WebAssembly.compileStreaming(): Compiling function #9:"meth_TestClass_main" failed: i64.reinterpret_f64[0] expected type f64, found local.get of type i32 @+2095
TeaVM Version: 0.10.2
I've found how to reproduce one of the problems I found later on in our discussion over #955. TeaVM is able to compile it without crashing, the error happens when I attempt to load the compiled WASM binary in Chrome by typing
WebAssembly.compileStreaming(fetch("classes.wasm"));
into the devtools console.Here is the code you can compile to reproduce it:
It produces a WASM binary that creates the following error when I attempt to load it in Chrome:
Uncaught (in promise) CompileError: WebAssembly.compileStreaming(): Compiling function #9:"meth_TestClass_main" failed: i64.reinterpret_f64[0] expected type f64, found local.get of type i32 @+2095
Binary: https://ftp.deev.is/test/classes.wasm
Disassembly: https://ftp.deev.is/test/classes.wasm.out
The text was updated successfully, but these errors were encountered: