Skip to content
Draft
2 changes: 1 addition & 1 deletion compiler/src/codegen/compcore.re
Original file line number Diff line number Diff line change
Expand Up @@ -2656,7 +2656,7 @@ and compile_switch = (wasm_mod, env, arg, branches, default, ty) => {
wasm_mod,
create_table(stack),
default_label,
untag_number(wasm_mod, compile_imm(wasm_mod, env, arg)),
compile_imm(wasm_mod, env, arg),
default_value,
);
let default_block_body =
Expand Down
Loading