Skip to content

Commit a315401

Browse files
authored
[test] Fix left-over use of kWasmStmt in wasm-module-builder (#1812)
This was renamed to kWasmVoid in WebAssembly/memory64@2f5a7c5.
1 parent f501994 commit a315401

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/js-api/wasm-module-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ class WasmModuleBuilder {
934934

935935
addTable(type, initial_size, max_size = undefined, init_expr = undefined) {
936936
if (type == kWasmI32 || type == kWasmI64 || type == kWasmF32 ||
937-
type == kWasmF64 || type == kWasmS128 || type == kWasmStmt) {
937+
type == kWasmF64 || type == kWasmS128 || type == kWasmVoid) {
938938
throw new Error('Tables must be of a reference type');
939939
}
940940
if (init_expr != undefined) checkExpr(init_expr);

0 commit comments

Comments
 (0)