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 use wasm-crypto for the development and replace the WebAssembly with webassemblyjs in wasm_bg.js. But it throw errors in node env:
Expected type i32 but got i64 at func_11:38.
Expected type i32 but got i64 at func_12:22.
Expected type i32 but got i64 at func_18:16.
Expected type i32 but got i64 at func_30:16.
Expected type i32 but got i64 at func_31:19.
Expected type i32 but got i64 at func_37:86.
Expected type i32 but got i64 at func_41:16.
Expected type i64 but got i32 at func_44:6.
Type mismatch in if, got false and at func_44:4.
Type mismatch in select at func_49:33.
Type mismatch in if, got false and at func_49:7.
Type mismatch in select at func_49:38.
Type mismatch in select at func_49:15.
Expected type i32 but got i64 at func_56:5.
Expected type i32 but got none at func_86:13.
Expected type i32 but got none at func_92:50.
Expected type i32 but got i64 at func_98:88.
Type mismatch in if, got false and at func_98:17.
Expected type i32 but got none at func_112:47.
Type mismatch in if, got false and at func_112:27.
Expected type i32 but got none at func_132:9.
Type mismatch in if, got false and at func_132:9.
Type mismatch in if, got false and at func_132:4.
Expected type i32 but got i64 at func_136:4.
Type mismatch in if, got false and at func_136:1.
Expected type i32 but got none at func_147:5.
Type mismatch in if, got false and at func_147:15.
Expected type i64 but got i32 at func_149:10.
Type mismatch in if, got false and at func_149:6.
Expected type i32 but got none at func_151:50.
Type mismatch in if, got false and at func_151:11.
Expected type i32 but got i64 at func_153:2.
Type mismatch in select at func_160:14.
Type mismatch in select at func_161:11.
Expected type i32 but got none at func_165:49.
Expected type i64 but got i32 at func_301:12.
Expected type i64 but got i32 at func_377:3.
I have look through #472 but still can not figure out it.
The text was updated successfully, but these errors were encountered:
mzxyz
changed the title
Error: Expected type i32 but got i64 when compile a wasm libriry
Error: expected type i32 but got i64 when compile a wasm libriry
May 28, 2019
Issue Description:
I use wasm-crypto for the development and replace the
WebAssembly
withwebassemblyjs
inwasm_bg.js
. But it throw errors in node env:I have look through #472 but still can not figure out it.
The text was updated successfully, but these errors were encountered: