alexcrichton opened issue #11561:
This input:
(module (table $t 10 exnref) (global $g exnref (ref.null exn)) (elem (table $t) (i32.const 0) exnref (global.get $g)) )fails with:
$ cargo run -- -Wexceptions,gc,function-references testcase0.wat ... thread 'main' panicked at crates/wasmtime/src/runtime/vm/instance.rs:971:72: called `Result::unwrap()` on an `Err` value: type mismatch: value does not match table element type Caused by: type mismatch: expected (ref null exn), found (ref null none) note: run with `RUST_BACKTRACE=1` environment variable to display a backtracecc @cfallin
alexcrichton added the fuzz-bug label to Issue #11561.
alexcrichton added the wasm-proposal:exceptions label to Issue #11561.
alexcrichton closed issue #11561:
This input:
(module (table $t 10 exnref) (global $g exnref (ref.null exn)) (elem (table $t) (i32.const 0) exnref (global.get $g)) )fails with:
$ cargo run -- -Wexceptions,gc,function-references testcase0.wat ... thread 'main' panicked at crates/wasmtime/src/runtime/vm/instance.rs:971:72: called `Result::unwrap()` on an `Err` value: type mismatch: value does not match table element type Caused by: type mismatch: expected (ref null exn), found (ref null none) note: run with `RUST_BACKTRACE=1` environment variable to display a backtracecc @cfallin
Last updated: Dec 06 2025 at 06:05 UTC