We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777d33d commit 0e5e550Copy full SHA for 0e5e550
src/wasm/wasm-binary.cpp
@@ -847,9 +847,9 @@ Type WasmBinaryBuilder::getType() {
847
case BinaryConsts::EncodedType::f32: return f32;
848
case BinaryConsts::EncodedType::f64: return f64;
849
case BinaryConsts::EncodedType::v128: return v128;
850
- case BinaryConsts::EncodedType::AnyFunc:
851
- case BinaryConsts::EncodedType::Func:
+ default: {
852
throwError("invalid wasm type: " + std::to_string(type));
+ }
853
}
854
WASM_UNREACHABLE();
855
0 commit comments